summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Keep track of when the HTML5 database path has been set, so that we ↵Ben Murdoch2010-02-261-1/+6
|\ | | | | | | don't inadvertantly sync it to the native side before it has been set by the client."
| * Keep track of when the HTML5 database path has been set, so that we don't ↵Ben Murdoch2010-02-251-1/+6
| | | | | | | | | | | | | | | | inadvertantly sync it to the native side before it has been set by the client. Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e
* | don't draw layers with historyCary Clark2010-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The history picture and the layers drawn may be out of sync, so for now, don't draw the layers when the history picture is drawn. Also, remove native class check from drawExtras() since it is already checked by the caller. fixes http://b/2457350 fixes http://b/2453780
* | Re-arrange android-common so framework no longer links with it.Dianne Hackborn2010-02-252-2/+2
| | | | | | | | | | | | | | This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
* | When opening the IME or sending a key to a non-cursored textfield, set the ↵Leon Scroggins2010-02-251-0/+2
| | | | | | | | | | | | default selection. Fix for http://b/issue?id=2431351
* | refactor drawing to support layersCary Clark2010-02-251-50/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drawing elements that appear atop or below layers need to be drawn both in the proper order and with the correct canvas to respect clipping and the matrix. The logic of what to draw is still in WebView.java, but the actual drawing calls are now triggered inside the layer code. This still draws layers incorrectly after drawing the history; will fix this in a future CL. Move drawing to WebView.cpp. Use inverseScale to simplify viewPort metrics. Remove root layer; let WebView.cpp handle it exclusively. Requires companion fix in external/webkit. http://b/2457316 http://b/2454127 http://b/2454149
* | Allow cookies with no name.Patrick Scott2010-02-251-43/+72
|/ | | | | | | Cookies like "foo; path=/;" should be evaluated to have just a name. This makes it easier to compare cookies when looking for duplicates. Bug: 2333747
* If mPreventDrag is cancelled due to time out, removeGrace Kloba2010-02-241-10/+24
| | | | | | | | | the pending TOUCH_EVENTS and then send an ACTION_CANCEL and skip the rest of touch events. This should address the drag problem Flash plugin has. Fix http://b/issue?id=245053
* Merge "Focus the IME on WebView when no textfield is in focus."Leon Scroggins2010-02-241-13/+21
|\
| * Focus the IME on WebView when no textfield is in focus.Leon Scroggins2010-02-231-13/+21
| | | | | | | | | | | | | | | | | | This is to fix a particular case where the navigation cache does not recognize that a textfield is now in focus. A message was sent from the WebCore thread telling us to open the IME on the textfield. Open it with the WebView as the served view. Fix for http://b/issue?id=2457459
* | Temp disable plugin's signature checking.Grace Kloba2010-02-231-1/+2
|/ | | Filed http://b/issue?id=2465450 to re-enable later.
* Change the text for the browser downloads and history views.Leon Scroggins2010-02-221-4/+3
| | | | Fix for http://b/issue?id=2450232
* Merge "Makes sure GeolocationPermissions is fully robust to calls being made ↵Steve Block2010-02-191-61/+26
|\ | | | | | | before the message handler is initialized"
| * Makes sure GeolocationPermissions is fully robust to calls being made before ↵Steve Block2010-02-191-61/+26
| | | | | | | | | | | | | | the message handler is initialized Bug: 2315829 Change-Id: I6c0d1adf7049c5c89228e43e34934702664c8691
* | Merge "Change to 5 days ago group to 7 days ago."Leon Scroggins2010-02-191-2/+2
|\ \
| * | Change to 5 days ago group to 7 days ago.Leon Scroggins2010-02-191-2/+2
| | | | | | | | | | | | Fix for http://b/issue?id=2450232
* | | Merge "Adds synchronization around message handler in GeolocationPermissions ↵Steve Block2010-02-192-4/+4
|\ \ \ | | |/ | |/| | | | and WebStorage"
| * | Adds synchronization around message handler in GeolocationPermissions and ↵Steve Block2010-02-192-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | WebStorage The message handler is instantiated on the WebCore thread and its presence is checked on the browser thread. This requires synchronization. Change-Id: I4b71c7a2470b60fa273dc2bcb46f645ed135ee11
* | | Pass key modifier state to webcore for touch events and update DRT so it can ↵Ben Murdoch2010-02-192-2/+10
| | | | | | | | | | | | | | | | | | simulate them. Change-Id: Ic5aa8cb0376f6a3eecaa6340d57f28fa97f016bd
* | | Unhide setBlockNetworkLoads.Patrick Scott2010-02-181-11/+17
| |/ |/| | | | | | | | | Blocking network images is not as secure as completely blocking network loads. Leave setBlockNetworkImage so clients can reduce bandwidth by disabling remote images. This will allow file:// and content:// URIs to load.
* | At the end of a zoom, only check if the textfield is onscreen.Leon Scroggins2010-02-181-8/+5
|/ | | | | | | | | | Previously, we checked to see if the IME was active on the WebTextView, in an attempt to fix http://b/issue?id=2266066 . If so, we move the textfield on screen. However, that is resulting in http://b/issue?id=2147168 , where a textfield far offscreen is being scrolled on screen at the end of a zoom, and with this change, the latter bug is fixed. Further, I am no longer able to reproduce the earlier bug with this change.
* Merge "add support for audio/3gpp"Cary Clark2010-02-181-0/+1
|\
| * add support for audio/3gppCary Clark2010-02-181-0/+1
| | | | | | | | | | | | | | This parallels an entry in WebCore/platform/MIMETypeRegistry.cpp http://b/2452889 http://code.google.com/p/android/issues/detail?id=3728
* | Changes to remove WebTextView at end of touch/press rather than during.Leon Scroggins2010-02-171-13/+21
|/ | | | | | | | | Add a parameter for clearTextEntry to disable the focus controller, and call clearTextEntry when releasing the trackball. Requires a change to external/webkit Fix for http://b/issue?id=2340871
* Add UI considerations to layersCary Clark2010-02-171-17/+33
| | | | | | | | | companion fix is in external/webkit - Add class to return view metrics. - Draw cursor rings and find matches in proper order. http://b/2369549
* Create a default style for WebTextView.Leon Scroggins2010-02-171-1/+1
| | | | | | | As a result, all apps using WebView (and therefore WebTextView) will get the same style, and display properly. Fixes http://b/issue?id=2385422
* 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.