summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Set up the WebTextView before setting its selection.Leon Scroggins2010-02-161-0/+4
| | | | Fixes http://b/issue?id=2431351
* Implement navigator.isApplicationInstalled() APIAndrei Popescu2010-02-123-0/+77
| | | | | | This CL contains the framework plumbing to pass the package names to WebKit. Fix b: 2371005
* Move the animations in the UI threadNicolas Roard2010-02-121-58/+10
|
* Eliminate dependencies on Checkin, replacing checkin events with EventLogDan Egnor2010-02-113-12/+17
| | | | | | | | | | | events (and in one case, a DropBox entry). Add a simple intent that triggers master-clear (and toggle EFS), given the right permissions. Bug: 2264596 Bug: 2350452 Bug: 2264596
* Add content provider for browser geolocation permissionsBjorn Bringert2010-02-112-212/+0
| | | | | | | | | This replaces the old Google-specific geolocation setting. Fixes http://b/issue?id=2428694 Part of http://b/issue?id=2383870 Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
* Merge "Set the IME action to GO for normal textfields."Leon Scroggins2010-02-091-0/+4
|\
| * Set the IME action to GO for normal textfields.Leon Scroggins2010-02-091-0/+4
| |
* | Restart input when moving to a new textfield.Leon Scroggins2010-02-091-0/+4
|/ | | | | | Ensures that the IME action gets updated properly. Fixes http://b/issue?id=2428023
* Take into account the visible title height when scrolling.Shimeng (Simon) Wang2010-02-091-0/+3
| | | | | Bug: 2425057 modified: core/java/android/webkit/WebView.java
* Handle the Tab key by moving to the next textfield. And ensureLeon Scroggins2010-02-092-26/+17
| | | | | | there is always a way to get to the next field. http://b/issue?id=2414236 and http://b/issue?id=2414229
* animated the return to normal of mr-stretchyMike Reed2010-02-081-6/+54
|
* Merge "Enable StreamLoader to be loaded in a separate thread."Grace Kloba2010-02-046-107/+105
|\
| * Enable StreamLoader to be loaded in a separate thread.Grace Kloba2010-02-046-107/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move ContentLoader and FileLoader to this new way as they involves IO. Will work on CacheLoader later. Change StreamLoader to contain a Handler instead of derive from a Handler so that the Handler can be created in the thread where load() is called. Rename StreamLoader's old "LoadListener mHandler" to mLoadListener. Remove unused import and unreachable exception. Fix http://b/issue?id=2158613 This improved page_cycler performance in moz/intl by 10-30% as we are not blocked by IO any more.
* | Add new ConsoleMessage class that adds more information (such as the Message ↵Ben Murdoch2010-02-044-5/+126
|/ | | | | | | | | | Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter. This change requires a corresponding change in external/webkit. BUG=2401755 Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
* remove android.webkit.HttpDateTime, againDoug Zongker2010-02-033-224/+4
| | | | | | | Remove this class, again, and change the webkit uses of it to use the one in android-common. Remove class from preloaded-classes as well. Change-Id: Ic0d4835e77180d299bc2c22b7c8780861b4781ee
* undo "move HttpDateTime from android.webkit to android-common jar"Doug Zongker2010-02-033-4/+224
| | | | | | | | | This restores this class to android.webkit, but leaves a copy in android-common while I figure out how to move it correctly. This reverts commit 7ad12a5f44253dc535f9a25ceb029579b40c43b1. Change-Id: I1d0a3efe34764058b979c6987e6e774f64d02b8c
* move HttpDateTime from android.webkit to android-common jarDoug Zongker2010-02-033-224/+4
| | | | | | Some to-be-unbundled classes want to use HttpDateTime as well. Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
* Pass touch event time from Java to WebKitGrace Kloba2010-02-032-2/+6
| | | | Merge from https://android-git.corp.google.com/g/#change,39355
* Add support for sending touch events in DRT.Ben Murdoch2010-02-031-1/+12
| | | | | | | | As part of this, make it possible for DRT to configure the timeout threshold between sending touch events to WebCore as the Layout Tests only synthesize single events, not a stream. Because of this, they often get dropped by the WebView for coming too quickly. Skip the multi touch test as we don't support multi touch in the Browser. Change-Id: I7b9830f43181fea33206825b49ef2e294269b4dd
* Revert "am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to ↵Ben Murdoch2010-02-032-6/+2
| | | | | | | | | | | | WebKit". The corresponding change to external/webkit creates a merge conflict in master. Revert the frameworks/base part of the change so we can "do not merge" the external/webkit change and get the build working again. We can then later resolve the conflict in external/webkit in master directly. This reverts commit 9ecd9437ed57bedfa2a7626430be03f4924f6b42, reversing changes made to 019fe73ddbf52edd1819e1d85a0b242ebccc7fc3. Change-Id: Id1404fb056b033ebd60529dd326ec9a3c32f94b0
* am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKitGrace Kloba2010-02-022-2/+6
|\ | | | | | | | | | | | | Merge commit '3db1ebaf1cc2a097845f217626e31d69e156b73d' * commit '3db1ebaf1cc2a097845f217626e31d69e156b73d': Pass touch event time from Java to WebKit
| * Pass touch event time from Java to WebKitGrace Kloba2010-02-022-2/+6
| |
* | Now mSupportMultiTouch is depending on WebSettings,Grace Kloba2010-02-021-1/+1
| | | | | | | | | | | | it can't be static any more. Fix http://b/issue?id=2413364
* | Hide the android.webkit.CallbackProxy class from the API. This is a ↵Grace Kloba2010-02-021-1/+4
| | | | | | | | | | | | | | | | | | android.webkit package class and internal to our implementation. Although not strictly a published API (the class does not appear in the docs), it has found it's way into the API through the public, subclassable android.webkit.JsResult class where it is a protected member. Based on changed from Ben.
* | Merge "Make sure application cache manifest files are not cached."Andrei Popescu2010-02-021-0/+10
|\ \
| * | Make sure application cache manifest files are not cached.Andrei Popescu2010-02-021-0/+10
| | | | | | | | | | | | Fix b:2326937
* | | Check for null data after decoding a data: url.Patrick Scott2010-02-025-31/+36
|/ / | | | | | | | | | | | | Refactor StreamLoader and friends since they all use a Context. Change the successful status to 200 instead of 0. Not sure why it was ever 0. Bug: 2364322
* | Implement support for v8 countersAndrei Popescu2010-02-022-1/+19
| |
* | Anchor the page at top left corner when webView size changed.Shimeng (Simon) Wang2010-02-011-12/+20
| | | | | | | | | | Bug: 2356891 modified: core/java/android/webkit/WebView.java
* | Added pause/resume update Picture to WebViewCore.Grace Kloba2010-02-012-8/+41
| | | | | | | | | | | | | | | | | | When animating zoom, we pause updating picture for smooth animation. Fix http://b/issue?id=2359016 Remove the unused param in reducePriority/resumePriority
* | resolved conflicts for merge of bb074ef9 to masterJean-Baptiste Queru2010-01-282-31/+60
|\ \ | | | | | | | | | Change-Id: I2d78d1280b56928f65517203348ddbd403fa9eae
| * | Fix http://b/issue?id=2400423.Grace Kloba2010-01-272-28/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the same page is loaded, updateRestoreState will be false when we finish the first layout. As we are still in the same page, we don't want to update the current zoom/scroll. But in some cases, like a site switch from mobile to full site and keeps the same url, we do want to update the zoom range as the viewport spec changed. Otherwise, user can't zoom in the full site as the WebView thought it is still a mobile non-scalable page.
| * | Merge "disable high-quality filtering during scrolling, until I can cached ↵Mike Reed2010-01-251-1/+3
| |\ \ | | | | | | | | | | | | the scaled images." into eclair
| | * | disable high-quality filtering during scrolling, until I can cached the ↵Mike Reed2010-01-251-1/+3
| | | | | | | | | | | | | | | | scaled images.
| * | | DO NOT MERGEGrace Kloba2010-01-221-48/+20
| |/ / | | | | | | This reverts commit 52cb3cbd6fe06e3706be1a7c2939f027106aaaf7.
| * | DO NOT MERGEGrace Kloba2010-01-201-20/+48
| | | | | | | | | | | | | | | | | | | | | | | | Just scale the canvas instead of changing the real scale factor during pinch. Added over limit zoom feedback for pinch in the WebView. Fix http://b/issue?id=2383539
| * | DO NOT MERGEGrace Kloba2010-01-201-7/+29
| | | | | | | | | | | | | | | | | | | | | Adopt the sloppy detection in the ScaleGestureDetector. Try to fix the fat thumb problem. Fix http://b/issue?id=2385061
| * | Do not mergeMike Reed2010-01-202-10/+192
| | | | | | | | | | | | port stretchy from master
| * | DO NOT MERGEGrace Kloba2010-01-181-1/+5
| | | | | | | | | | | | | | | | | | If pinched to overview mode, double tap should bring it back to default instead of just setting the current mode as overview mode.
| * | DO NOT MERGEGrace Kloba2010-01-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Make sure the mZoomOverviewWidth is as least as wide as the current (adjusted) view width. This should fix the weird state Bart got in with m.wikipedia.org.
| * | DO NOT MERGEGrace Kloba2010-01-181-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Remove testing (enable plugin) code. No reflow when zoom in, auto reflow when zoom out. Fix http://b/issue?id=2375955
| * | DO NOT MERGEGrace Kloba2010-01-151-30/+28
| | | | | | | | | | | | | | | Bring back +/- when panning. Dismiss it when pinching.
| * | Merge "DO NOT MERGE" into eclairGrace Kloba2010-01-141-1/+2
| |\ \
| | * | DO NOT MERGEGrace Kloba2010-01-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When adjust scale for zoom overview, keep the state of whether textWrapScale is matching mActualScale. So if user pinch during loading, we won't reflow. Fix http://b/issue?id=2370552
| * | | DO NOT MERGEGrace Kloba2010-01-141-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If mViewportWidth is 0, it means screen width. If textwrapWidth is not same as view width, which means that we are in the state triggered by pinch, always send textwrapWidth as width to WebKit to keep the same layout. Fix http://b/issue?id=2375232
| * | DO NOT MERGEGrace Kloba2010-01-132-56/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the common ScaleGestureDetector to detect the multi-touch motion. Check both supportZoom and getBuiltInZoomControls to decide whether enable the multi-touch behavior. This should the new pinch behavior only replace the old +/-. Fix http://b/issue?id=2363260 Only update textWrapScale if it is different. This should fix the performance decrease caused by initial multi-touch code. Fix http://b/issue?id=2371694
| * | DO NOT MERGE.Grace Kloba2010-01-122-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Couple of tweak for multi-touch in WebView. 1. If we can't zoom, don't get in multitouch mode. This avoid the logo in google.com looks fuzzy. 2. Reset mAnchor after sending VIEW_SIZE_CHANGED. 3. Don't call zoom when finishing multitouch unless zoom is called before. 4. Change the width for nativeSetSize, which was modified in the last check-in. The new logic should make both msn.com and news.google.com looks correct. 5. Use the pressure instead of distance/time to filter out the jitter just before lifting the finger. Fix http://b/issue?id=2360032
| * | First draft of multitouch in the WebView.Grace Kloba2010-01-112-169/+398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we just handle a simple pinch action. We will wait for framework support for more complicated gesture. When pinch in the webview, zoom level will be changed on the fly. But we won't re-wrap the text until user action like double tap, rotate screen. Double tap will re-layout the page and wrap the text to the screen width. We try to keep the spot you tapped at the same place on the screen after relayout. If the block after relayout fully fit on the current screen, we will center it for easy reading. Fix http://b/issue?id=2360032
| * | DO NOT MERGE.Leon Scroggins2009-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix for http://b/issue?id=2292512 When pressing the trackball on a WebTextView, open the IME. Change-Id: I5ea74ca7ce51ac509dc8649b8f8d1869287bb7a9
| * | Rename WebChromeClient.addMessageToConsole to ↵Ben Murdoch2009-11-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebChromeClient.onConsoleMessage. Do not merge. BUG=b/2271636 This has already been submitted to eclair-mr2. Change-Id: I81947f671f58be006ee3e1b30d73c6cb6cf2ebee