summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android
Commit message (Collapse)AuthorAgeFilesLines
...
* Compute the position of the fixed elements to be relative to theNicolas Roard2010-03-171-0/+2
| | | | | | | | screen and not the virtual viewport. This fixes Bug:2515587 and Bug:2457215 Change-Id: Ib987787cf9bf74b760b857dbbb397f85af334dce
* Use the bounds we layout the page for screenRect.Grace Kloba2010-03-121-7/+7
| | | | | | This should fix the problem where links in google.com news panel show up in the subwindow. Fix http://b/issue?id=2509597
* Prepare touch key modifiers for upstreaming.Ben Murdoch2010-03-111-3/+0
| | | | | | | | | Fix two compiler warnings in EventHandler.cpp The webkit bug tracking this was https://bugs.webkit.org/show_bug.cgi?id=35521 and was landed to the WebKit tree as r55843. Change-Id: Id49ba00d49bf98797a79b6f55b1cb1f906f5e0ad
* Only call plugin touch code if it is in full screenLeon Scroggins2010-03-091-3/+2
| | | | | | | | | | | | | mode or it is the document focused node. Remove Android special code added to support prevent default for double tap and long press. Long press and double tap needs to call preventDefault if it is needed. Remove Android special code added to pass event time. Need a separate CL for android_npapi.
* Simplify the layer code:Nicolas Roard2010-02-241-1/+5
| | | | | | | * Rename setRootLayer to setUIRootLayer * Fixed some logs in GraphicsLayerAndroid * Added back the diagonal drawing debug code in LayerAndroid * Simplified ChromeClientAndroid, removed compositingLayerSync()
* Merge "Fixes a crash in the Geolocation service when using maximumAge"Steve Block2010-02-191-4/+4
|\
| * Fixes a crash in the Geolocation service when using maximumAgeSteve Block2010-02-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a browser page is put to the background, the Geolocation object is suspended. If the Geolocation object has active requests, it suspends its Geolocation service. Now that we have maximum age support, the Geolocation object can have active requests without having started its Geolocation service. In this case, the geolocation service can ignore calls to suspend and resume. This avoids a crash when the Android Geolocation service hasn't created it's java bridge when suspend is called. Bug: 2453611 Change-Id: I368226281920512584a92b5f1967d602df1f0782
* | Add support for setting key states with touch events on Android.Ben Murdoch2010-02-191-5/+15
|/ | | | | | Properly guard non-upstreamed common code. Change-Id: I109dbe97d8c96efe3660ce3893a4e730927e90ef
* Fixes a bug with the Geolocation suspend/resume behaviourSteve Block2010-02-183-5/+12
| | | | | | | | | | | | | PlatformBridge::isWebViewPaused needs to be an instance method, rather than a static. This fixes a bug where if the user switches browser windows while a page that uses Geolocation is still loading, the Geolocation service won't be started in the suspended state. Note that this is a temporary fix, as the upstreaming of the existing suspend/resume code will introduce a new approach, which will avoid this problem altogether. See https://android-git.corp.google.com/g/#change,38942 Change-Id: I3f07f8837b8a8c1c5e7e4f5112ab487188670c3a
* Merge webkit.org at r54731 : Initial merge by gitSteve Block2010-02-162-0/+5
| | | | Change-Id: Ia79977b6cf3b0b00c06ef39419989b28e57e4f4a
* Implement navigator.isApplicationInstalled() APIAndrei Popescu2010-02-122-0/+166
| | | | | | This CL contains the wiring between the API and the Java side. Fix b: 2371005
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-3/+3
|
* Speculative build fix for sim-engSteve Block2010-02-051-0/+4
| | | | Change-Id: I8cdd95a002b21c317e77eb456d3eddf2f3036cc1
* Merge webkit.org at r54127 : Fix conflicts with Android addition of touch ↵Steve Block2010-02-041-7/+0
| | | | | | | | | event time This is not yet upstreamed, so we keep ours. See https://android-git.corp.google.com/g/#change,39424 Change-Id: I65233af30227b7dd84a1c2b29e5dfc6da20e905e
* Merge webkit.org at r54127 : Keep ours for PlatformBridge.Steve Block2010-02-041-6/+0
| | | | Change-Id: I19c5c5ea530813b6665c0d4beacae94be9d65d5d
* Merge webkit.org at r54127 : Initial merge by gitSteve Block2010-02-042-1/+14
| | | | Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
* Pass touch event time from Java to WebKitGrace Kloba2010-02-031-1/+3
| | | merge from https://android-git.corp.google.com/g/#change,39356
* absoluteToLocal works with a page co-ordinate that is relative to the top ↵Ben Murdoch2010-01-262-5/+5
| | | | | | | | left of the containing frame's document, so fix a bug in the WebCore touch event handler where the wrong page co-ordinates were being passed to the Touch construtor. This part of the change should be upstreamed to webkit. Also fix a crash when a touchCancel event is sent to a plugin because touchCancel, like touchend is not guaranteed to have data in touches, but will have data in changedTouches. Change-Id: I5345d7baf4e4325b24fbc5fbe60132dafb80e006
* Prepare NPV8Object.h/cpp for upstreaming:Andrei Popescu2010-01-251-0/+49
| | | | | | | | | | - remove #include bindings/npruntime.h from NPV8Object.cpp since that's also included in the NPV8Object.h - add ARRAYSIZE_UNSAFE macro - remove some TODOS This will be checked in after the corresponding webkit bug gets landed. See https://bugs.webkit.org/show_bug.cgi?id=33608
* Merge "Prepare ScriptController class for upstreaming."Andrei Popescu2010-01-251-0/+5
|\
| * Prepare ScriptController class for upstreaming.Andrei Popescu2010-01-221-0/+5
| | | | | | | | | | | | | | | | | | | | Move the code to obtain the NPObject ptr associated with a PluginView to the PlatformBridge. This change will be submitted as soon as the patch in https://bugs.webkit.org/show_bug.cgi?id=33673 lands upstream.
* | Refactor style of Android specific touch events code in preparation for ↵Ben Murdoch2010-01-212-3/+13
| | | | | | | | | | | | upstreaming to webkit.org. Change-Id: Id34e727145fe94e98e62a36b7fc8256468b4157c
* | Cherry-pick WebKit change 53497 to rename jni_utility and ↵Steve Block2010-01-203-3/+2
| | | | | | | | | | | | | | | | | | | | | | jni_utility_private to JNIUtility and JNIUtilityPrivate See http://trac.webkit.org/changeset/53497 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. This change required updating headers in Android-specific files in WebCore and WebKit. Change-Id: I4b80eb3eadcff66cbd261aa6ccef0f37927250b1
* | Refactor our touch event code to use the version submitted to webkit.org by ↵Ben Murdoch2010-01-202-0/+76
| | | | | | | | | | | | the Qt team. Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
* | am e4771f1b: am 6916255e: Call into MimeTypeMap to get the mime type for an ↵Patrick Scott2010-01-131-7/+0
|\ \ | |/ |/| | | | | | | | | | | | | extension. Merge commit 'e4771f1b95589eff8479702dfbf5ef03c267c5c3' * commit 'e4771f1b95589eff8479702dfbf5ef03c267c5c3': Call into MimeTypeMap to get the mime type for an extension.
| * Call into MimeTypeMap to get the mime type for an extension.Patrick Scott2010-01-131-7/+0
| | | | | | | | | | | | | | | | | | Use the default method to obtain the content type of a plugin. Implement extension to mime type by calling into the java map. Requires a small change to the webkit package. Bug: 2368893
| * webkit layers supportNicolas Roard2010-01-041-0/+9
| |
* | resolved conflicts for merge of e0286f66 to masterSteve Block2010-01-122-2/+10
|\ \ | | | | | | | | | Change-Id: I6efcacf082170506048d0a2caf3d669796fc4253
| * | When starting the Geolocation service provider, check that the WebView is ↵Steve Block2010-01-122-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not already paused. This fixes the following scenario ... - The browser back stack contains a page which calls Geolocation::watchPosition form its onload handler. - User presses the back button quickly and repeatedly until the browser goes to the background. - The browser calls WebViewCore::Pause when it goes into the background, which suspends any Geolocation services in use. However, this call is made before the page which calls Geolocation::watchPosition has been loaded. WebKit later loads this page, which creates a new Geolocation object which is never paused. With this fix, the new Geolocation object is not started when it is first created. It does nothing until it is resumed when the Browser is brought back to the foreground. Bug: 2363338
| * | Stop Geolocation service when browser tab is in the background. Do not merge.Steve Block2009-11-092-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | This is a fix for bug http://b/issue?id=2211437 This has already been submitted to Eclair MR2 branch. Change-Id: I43c19e84fda6291590ff2f07bbadb18a4f86df5f
| * | Fix Geolocation service to use correct signature for Location.getAltitude(). ↵Steve Block2009-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not merge. This is a fix for bug http://b/issue?id=2221243 This has already been submitted to Eclair MR2 branch. Change-Id: I964e004583cebe4c93fe3e9c1c7d5ef44a41d1f8
* | | resolved conflicts for merge of 870689c8Nicolas Roard2010-01-041-0/+9
| | |
* | | am 5c8706a2: am 6c4eb7eb: Merge change I49687314 into eclair-mr2Steve Block2009-12-181-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '5c8706a25612076fca97032bce1ba627f6ba618b' * commit '5c8706a25612076fca97032bce1ba627f6ba618b': Fixes a Geolocation bug with cached positions.
| * | Fixes a Geolocation bug with cached positions.Steve Block2009-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case where a watch request returns a cached position, we must clear the cached position to prevent it from being used repeatedly in the case where the watch timer later fires. Also cleans up some code and adds some comments. This will be upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=30676 Change-Id: I4968731453c3dfd34a8d3466fdaee91d4c4158be
* | | am eb2b5623: am 0f41711d: Merge webkit.org at r51976 : ↵Steve Block2009-12-171-6/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Icon::createIconForFile has been removed. Merge commit 'eb2b5623e71ea3dd0133246a2ede5741faa94137' * commit 'eb2b5623e71ea3dd0133246a2ede5741faa94137': Merge webkit.org at r51976 : Icon::createIconForFile has been removed.
| * | Merge webkit.org at r51976 : Icon::createIconForFile has been removed.Steve Block2009-12-171-6/+0
| | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/50632 Change-Id: I3b10aff021d89b66d4d3d5f52773e4922654fbfa
* | | resolved conflicts for merge of 33cbb138 to masterLeon Scroggins2009-12-163-18/+32
|\ \ \ | |/ /
| * | Provide localized strings for <input> labels.Leon Scroggins2009-12-153-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for http://b/issue?id=2178786 Call up to Java to get strings for <input> labels, and use them on inputs. Requires a change in frameworks/base.
* | | Move cookie support to PlatformBridgeAndrei Popescu2009-12-151-0/+5
|/ /
* | Enable orientation events.Patrick Scott2009-12-091-26/+0
| | | | | | | | | | | | | | Remove our old orientation hacks as webkit now supports the orientation event. Call down into webkit when the orientation changes to send the js event. The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
* | Moves JSC-specific functions from jni_utility and moves them to a new ↵Steve Block2009-12-071-2/+2
| | | | | | | | | | | | | | | | jsc/jni_utility_private.h. See https://bugs.webkit.org/show_bug.cgi?id=32157 Change-Id: I1f7f0bb6fa9e72ee3eeb31160e0a828b3d076fee
* | Enable WebKit page cache through WebSettings.Grace Kloba2009-12-021-2/+3
| | | | | | | | | | | | | | | | Add setXX() for the meta data in Settings. Add CachedFramePlatformDataAndroid to preserve the state for the cachedFrame. http://b/issue?id=2284168
* | Merge change Ie4e91d61 into eclair-mr2Android (Google) Code Review2009-11-252-7/+67
|\ \ | | | | | | | | | | | | * changes: Bring Android files in line with what landed at webkit.org.
| * | Bring Android files in line with what landed at webkit.org.Andrei Popescu2009-11-252-7/+67
| | | | | | | | | | | | | | | | | | Picks up changes made by Apple in http://trac.webkit.org/changeset/51191/trunk/WebCore/platform/android/LocalizedStringsAndroid.cpp
* | | Update files in platform/android to match what was upstreamed inAndrei Popescu2009-11-253-82/+80
|/ / | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31825 https://bugs.webkit.org/show_bug.cgi?id=31831
* | Draw ListBoxes to look like MenuLists.Leon Scroggins2009-11-202-3/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of an earlier change, listed below, which was somehow lost. Fixes http://b/issue?id=2273867 https://android-git.corp.google.com/g/#change,5072 Fix <select with multiple and/or size > 1. With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* | Update style afterAndrei Popescu2009-11-171-6/+3
| | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31423 landed.
* | Split the GeolocationService implementation. This is a result ofAndrei Popescu2009-11-164-229/+305
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31554
* | Update Android tree with what was upstreamed inAndrei Popescu2009-11-163-7/+12
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31423
* | Fixes license headers for all Android-specific JavaScriptCore and WebCore ↵Steve Block2009-11-136-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files not yet upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. - For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS' and cleaned up formatting in the existing BSD-style license. - For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an Apache 2.0 license to the BSD-style license. - WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp - WebCore/platform/graphics/android/BitmapAllocatorAndroid.h - WebCore/platform/graphics/android/SharedBufferStream.cpp - WebCore/platform/graphics/android/SharedBufferStream.h - For the following files, I've changed from an LGPL licese to the BSD-style license. - WebCore/platform/graphics/android/FontPlatformData.h - WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp - WebCore/plugins/android/PluginDataAndroid.cpp Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1