summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Cherry-pick WebKit change 52103 - Add a client based Geolocation providerSteve Block2010-01-1819-31/+690
| | | | | | | | This is required to ease the process of upstreaming the Geolocation maximumAge handling code. Note that changes to WebCoreFrameBridge.cpp and WebCoreJniOnLoad.cpp were required as a result of this. Change-Id: Icd8524da9050acda3b991051877c3b5cf262b2b3
* Add navigator.networkType to allow apps to detect the connection type.Andrei Popescu2010-01-1514-0/+188
| | | | | | The online event is fired when the networkType changes. Bug: 2368650
* Merge "Removes a superfluous call to GeoNotifier::m_timer::stop() when ↵Steve Block2010-01-151-1/+0
|\ | | | | | | Geolocation calls back with a position fix."
| * Removes a superfluous call to GeoNotifier::m_timer::stop() when Geolocation ↵Steve Block2010-01-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | calls back with a position fix. This call was removed in https://android-git.corp.google.com/g/#change,21293 but inadvertantly added back in https://android-git.corp.google.com/g/#change,21677 See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=e0330ac957b8434cd2c9c7b5447aaa0faabe77ec This call is not present in webkit.org. Change-Id: I712b5d29871e8bda54340e510c2bd7bc411728ee
* | Fix for setting layers opacity through CSS (bug http://b/2376455)Nicolas Roard2010-01-151-0/+1
| |
* | Merge "Check for the absence of a frame. This crashes in the situation where ↵Leon Clarke2010-01-151-1/+2
|\ \ | | | | | | | | | the XHR responseXML method is being called on a document with meta tags. http://b/issue?id=2346028"
| * | Check for the absence of a frame.Leon Clarke2010-01-141-1/+2
| |/ | | | | | | | | | | This crashes in the situation where the XHR responseXML method is being called on a document with meta tags. http://b/issue?id=2346028
* | am 93f808ab: am 388e461f: Add proper support for fixed position elementsNicolas Roard2010-01-143-23/+61
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '93f808abccaf6f09c5c0226c01942c3be445031a' * commit '93f808abccaf6f09c5c0226c01942c3be445031a': Add proper support for fixed position elements
| * | Add proper support for fixed position elementsNicolas Roard2010-01-143-23/+61
| | | | | | | | | | | | | | | | | | | | | this is two-part change, see http://android-git.corp.google.com/g/#change,37092 for the java counterpart. This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths. It addresses http://b/1914365
* | | am 459f6c34: am 29b325cb: Fix \'disappearing layers\' bug (see http://b/2371053)Nicolas Roard2010-01-141-3/+0
|\ \ \ | |/ / | | / | |/ |/| | | | | Merge commit '459f6c347256a4d9fe815793302130fe06bd8f83' * commit '459f6c347256a4d9fe815793302130fe06bd8f83': Fix 'disappearing layers' bug (see http://b/2371053)
| * Fix 'disappearing layers' bug (see http://b/2371053)Nicolas Roard2010-01-141-3/+0
| | | | | | | | | | | | The removed code was needed in the previous implementation, but not so anymore as we recopy the layers to the UI. It causes the bug, as webkit deallocate the tree asynchronously, which ends up resetting the root layer to zero after the new page was loaded...
* | am 594a3479: am 44364d80: Merge "Update jni_runtime.cpp with the latest ↵Steve Block2010-01-141-5/+10
|\ \ | |/ | | | | | | | | | | | | | | changes to appendClassName." into eclair-mr2 Merge commit '594a347941318556ae40d521e6f5c23fd9cf66b4' * commit '594a347941318556ae40d521e6f5c23fd9cf66b4': Update jni_runtime.cpp with the latest changes to appendClassName.
| * Merge "Update jni_runtime.cpp with the latest changes to appendClassName." ↵Steve Block2010-01-141-5/+10
| |\ | | | | | | | | | into eclair-mr2
| | * Update jni_runtime.cpp with the latest changes to appendClassName.Steve Block2010-01-141-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit change http://trac.webkit.org/changeset/53193 updated appendClassName to use JSC::StringBuilder, rather than JSC-specific types. This allows this method to be used with V8 as well as JSC. A clean cherry-pick of this change would require changes 52026, 52028, 52075 and 52329 to be cherry-picked also. To avoid this churn, we simply update jni_runtime.cpp to reflect the version at change 53193. Change-Id: I6602469aeea59d8146ab1e72f312888b77522406
* | | 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
* | | 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
* | | | Merge "Implement timeupdate events for video tag."Andrei Popescu2010-01-121-0/+2
|\ \ \ \
| * | | | Implement timeupdate events for video tag.Andrei Popescu2010-01-121-0/+2
| | | | | | | | | | | | | | | | | | | | Fix http://b/issue?id=2210105
* | | | | Cherry pick from Webkit for fix for ↵Ben Murdoch2010-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31539. Restore the default state of a textarea correctly. Change-Id: Id182817b7cd229e12676fd5ef55657ff6a963a4f
* | | | | resolved conflicts for merge of ab89d1aa to masterDerek Sollenberger2010-01-111-1/+7
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | consolidating to only use one surface per plugin. give plugin access to java ↵Derek Sollenberger2010-01-111-1/+7
| | |/ | |/| | | | | | | | | | | | | context. There is a companion commit in frameworks/base.
* | | Merge "Update v8/bindings to remove the ANDROID #ifdefs and confirm that ↵Andrei Popescu2010-01-113-6/+5
|\ \ \ | | | | | | | | | | | | DOMData now officially has a virtual dtor."
| * | | Update v8/bindings to remove the ANDROID #ifdefs and confirmAndrei Popescu2010-01-113-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | that DOMData now officially has a virtual dtor. Changes upstreamed in https://bugs.webkit.org/show_bug.cgi?id=33390
* | | | am 43342a27: am ee0e4a35: Merge "Updates the use of weak references in the ↵Steve Block2010-01-081-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | script-to-Java bridge for V8." into eclair-mr2 Merge commit '43342a276dcdb9e1f8c677f5077d151cd5d6ad07' * commit '43342a276dcdb9e1f8c677f5077d151cd5d6ad07': Updates the use of weak references in the script-to-Java bridge for V8.
| * | Merge "Updates the use of weak references in the script-to-Java bridge for ↵Steve Block2010-01-081-1/+1
| |\ \ | | | | | | | | | | | | V8." into eclair-mr2
| | * | Updates the use of weak references in the script-to-Java bridge for V8.Steve Block2010-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, V8 uses weak references to the Java object owned by JObjectWrapper. This is in contrast to JSC, which uses strong references in JObjectWrapper. However, for the special-case where JObjectWrapper is used in JavaInstance in WebCoreFrameBridge, JSC uses WeakJavaInstance to swap the strong references for weak references. This change updates the V8 version of JObjectWrapper to use strong references to match the JSC version. To maintain the weak reference behavior where JObjectWrapper is used in JavaInstance in WebCoreFrameBridge, V8 now make use of WeakJavaInstance too. This requires changes to jni_npobject to call the necessary methods on JavaInstance to swap the references when the object is accessed. Change-Id: I3724d7e6437588feb0268a2670b02a93b52e54f0
* | | | Update WebCore/platform/network with changes upstreamed inAndrei Popescu2010-01-083-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=32871 https://bugs.webkit.org/show_bug.cgi?id=32873 This will be submitted once the above changes land upstream.
* | | | Reverts Android-specific change to avoid adding history items for fragment ↵Steve Block2010-01-072-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scrolls initiated by script. Bug: 2360542 Change-Id: I4a60840dfb89753b4f56f96b5017269bfcf99392
* | | | Merge "Updates Document::setExtraLayoutDelay to reflect recent submission to ↵Steve Block2010-01-075-27/+13
|\ \ \ \ | | | | | | | | | | | | | | | webkit.org."
| * | | | Updates Document::setExtraLayoutDelay to reflect recent submission to ↵Steve Block2010-01-075-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webkit.org. setExtraLayoutDelay was an Android addition and was upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=32875 Removes Document::extraLayoutDelay by incorporating the extra delay in Document::minimumLayoutDelay. Removes ANDROID_MOBILE guards, as this extra code is not inhernetly specific to Android, and is a no-op if Document::setExtraLayoutDelay is not called. This removes the last uses of ANDROID_MOBILE. Change-Id: I1e18a994f32b29558dcf9a5c76aefab62e9fc13d
* | | | | Disable "fit to screen" if line height < font size.Shimeng (Simon) Wang2010-01-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2289376 modified: WebCore/rendering/RenderBlockLineLayout.cpp
* | | | | Defines PLATFORM(SKIA), instead of PLATFROM(SGL) for Android.Steve Block2010-01-0519-56/+52
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skia is used by Chromium, which defines PLATFORM(SKIA). Android also uses Skia, but currently defines PLATFORM(SGL) to account for platform-specific differences between Android and Chromum. We now use PLATFORM(SKIA) on Android and remove PLATFORM(SGL). Platform-specific differences are achieved with PLATFORM(ANDROID) guards. This reduces our diff with webkit.org. Change-Id: Ibf920b1929e7c3cdabb025ae61ceae3df67258bb
* | | | am 3703e41d: am 3bacb88b: Revert to ENABLE_ORIENTATION_EVENTS=1Nicolas Roard2010-01-041-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '3703e41d68a5747ef178cd5fc4361ee7c9e38249' * commit '3703e41d68a5747ef178cd5fc4361ee7c9e38249': Revert to ENABLE_ORIENTATION_EVENTS=1
| * | | Revert to ENABLE_ORIENTATION_EVENTS=1Nicolas Roard2010-01-041-1/+1
| | | |
| * | | webkit layers supportNicolas Roard2010-01-0412-2/+2029
| |/ /
* | | resolved conflicts for merge of 870689c8Nicolas Roard2010-01-0412-2/+2029
| | |
* | | Merge "Android special-casing when using std::sort is no longer needed now ↵Steve Block2009-12-301-14/+0
|\ \ \ | | | | | | | | | | | | that we use STLPort."
| * | | Android special-casing when using std::sort is no longer needed now that we ↵Steve Block2009-12-221-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | use STLPort. Change-Id: I9ca01b71637457f9e84384f5dd748f141c13c3b0
* | | | Merge change I8457f5dcAndroid (Google) Code Review2009-12-213-5/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Update the cookie code in platform/network to match the code upstreamed in
| * | | Update the cookie code in platform/network to matchAndrei Popescu2009-12-213-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | the code upstreamed in https://bugs.webkit.org/show_bug.cgi?id=32559
* | | | Merge change Ife24867aAndroid (Google) Code Review2009-12-181-12/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Updates use of pow() in HTMLInputElement::stepMismatch() to match version upstreamed to webkit.org.
| * | | Updates use of pow() in HTMLInputElement::stepMismatch() to match version ↵Steve Block2009-12-181-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upstreamed to webkit.org. See https://bugs.webkit.org/show_bug.cgi?id=32675 Change-Id: Ife24867a1c96a3b46226d06862198a2e6dfeb216
* | | | am 5c8706a2: am 6c4eb7eb: Merge change I49687314 into eclair-mr2Steve Block2009-12-182-9/+14
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | Merge commit '5c8706a25612076fca97032bce1ba627f6ba618b' * commit '5c8706a25612076fca97032bce1ba627f6ba618b': Fixes a Geolocation bug with cached positions.
| * | Merge change I49687314 into eclair-mr2Android (Google) Code Review2009-12-182-9/+14
| |\ \ | | | | | | | | | | | | | | | | * changes: Fixes a Geolocation bug with cached positions.
| | * | Fixes a Geolocation bug with cached positions.Steve Block2009-12-172-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fixes the build break in master.Steve Block2009-12-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new WebKit merge caused a build break when auto-merged from eclair-mr2 to master, due to the fact that master uses stl_port. Change-Id: I1437352a3439f3e103572ed3e1bb523ec65e98ef
* | | | am 2427cd61: am 2fb528f4: Adds notes to upstream feature guards added in ↵Steve Block2009-12-171-5/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | V8DOMWrapper.cpp. Merge commit '2427cd61fec29b72e27eb037ca0c6c57cb4ad66c' * commit '2427cd61fec29b72e27eb037ca0c6c57cb4ad66c': Adds notes to upstream feature guards added in V8DOMWrapper.cpp.
| * | | Adds notes to upstream feature guards added in V8DOMWrapper.cpp.Steve Block2009-12-171-5/+6
| |/ / | | | | | | | | | Change-Id: Id7659cfcab17f24e48958086b4206b1906562d74