summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Fix potential crash with layers enabled.Nicolas Roard2010-01-264-30/+25
| | | | | | See bug http://b/2395197 We remove the AndroidAnimationTimer class, and use a callback mechanism instead in GraphicsLayerAndroid.
* Moves V8's JavaField from V8's jni_runtime to JavaClassV8 and fixes styleSteve Block2010-01-264-1/+106
| | | | | | | | | | | | | | | | JavaField is script-engine specific. The JSC version of JavaField was moved out of the script-independent file JNIBridge (previosuly named jni_runtime) in http://trac.webkit.org/changeset/53849 This change makes the equivalent move for V8. This will make V8's version of jni_runtime script-independent, allowing it to be merged with JNIBridge in WebCore in the future. This change is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=34166 Change-Id: I7b35bfe4e8e7820623a824028eb64d06421bdb6b
* Merge "Moves the Geolocation position cache out of the Geolocation object."Steve Block2010-01-265-167/+247
|\
| * Moves the Geolocation position cache out of the Geolocation object.Steve Block2010-01-255-167/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The position cache is an implementation detail of the Geolocation object, but is being moved to its own file to keep files to a reasonable size. Also updates some names and fixes soem style. This will be upstreamed in https://bugs.webkit.org/show_bug.cgi?id=34084 The maximumAge code in the Geolocation object, which may make use of this caching, is being upstreamed in https://bugs.webkit.org/show_bug.cgi?id=30676 Change-Id: I083556de732bd7be240a75da5369117aabc50e33
* | Merge "translate3d() wasn't handled as we only have a 2D backend for the ↵Nicolas Roard2010-01-261-1/+16
|\ \ | | | | | | | | | moment. But it should still work for the (x,y) components anyway... Fix bug http://b/2395354"
| * | translate3d() wasn't handled as we only have a 2D backend for the moment.Nicolas Roard2010-01-261-1/+16
| | | | | | | | | | | | | | | But it should still work for the (x,y) components anyway... Fix bug http://b/2395354
* | | Merge "Cherry-pick WebKit change 53849 to move JavaField and JavaArray from ↵Steve Block2010-01-2611-452/+577
|\ \ \ | | | | | | | | | | | | JNIBridge to JNIBridgeJSC"
| * | | Cherry-pick WebKit change 53849 to move JavaField and JavaArray from ↵Steve Block2010-01-2611-452/+577
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | JNIBridge to JNIBridgeJSC See http://trac.webkit.org/changeset/53849 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: Ic73bf8213ae677b69e763a6b04f8c94f7f1eaed1
* | | absoluteToLocal works with a page co-ordinate that is relative to the top ↵Ben Murdoch2010-01-266-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | resolved conflicts for merge of 98c97471 to masterGrace Kloba2010-01-251-2/+5
|\ \ \ | |/ / |/| |
| * | Merge "Rearrange the include headers to enable logging." into eclair-mr2Grace Kloba2010-01-251-2/+4
| |\ \
| | * | Rearrange the include headers to enable logging.Grace Kloba2010-01-251-2/+4
| | | |
* | | | Merge changes Ib69ddd4d,Ib28c69a6,I342b9f6bSteve Block2010-01-254-9/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Cherry-pick WebKit change 53441 to make changes to Geolocation Bring Geolocation up-to-date with WebKit change 53342 to make suspend/resume public Cherry-pick WebKit change 52104 to make changes to Geolocation
| * | | | Cherry-pick WebKit change 53441 to make changes to GeolocationSteve Block2010-01-253-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53441 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: Ib69ddd4d1b0944c861ac6c35412936ec1209cff0
| * | | | Bring Geolocation up-to-date with WebKit change 53342 to make suspend/resume ↵Steve Block2010-01-252-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | public See http://trac.webkit.org/changeset/53342 Change-Id: Ib28c69a686d72ea4fb17b52b6476bfc5696b1db3
| * | | | Cherry-pick WebKit change 52104 to make changes to GeolocationSteve Block2010-01-253-2/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/52104 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: I342b9f6b6ef5a25fac37dd2187a67a834fb7e270
* | | | am 53e1af87: am 2eb76d0b: Add logging for all plugin events and their return ↵Derek Sollenberger2010-01-251-3/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | values. Merge commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0' * commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0': Add logging for all plugin events and their return values.
| * | Add logging for all plugin events and their return values.Derek Sollenberger2010-01-251-3/+3
| |/
| * DO NOT MERGEGrace Kloba2010-01-201-1/+2
| | | | | | | | | | | | | | | | | | | | Apparently ownerElement is not a good way to check when it is the top document in detach(). This should fix the touch problem in the plugin in www.excite.com. This doesn't need to be merged as touch as been updated to match the webkit.
* | Fix build byAndrei Popescu2010-01-252-0/+2
| | | | | | | | | | - adding WebCore/svg to the include path. This should not be guarded by #if ENABLE(SVG) in the makefiles. - calling PluginView::getNPObject from PlatformBridge only when V8 is used.
* | Prepare NPV8Object.h/cpp for upstreaming:Andrei Popescu2010-01-253-23/+56
| | | | | | | | | | | | | | | | | | | | - 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-254-23/+7
|\ \
| * | Prepare ScriptController class for upstreaming.Andrei Popescu2010-01-224-23/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge "Remove Android-specific TODOs as the changes have been upstreamed in"Andrei Popescu2010-01-252-12/+0
|\ \ \
| * | | Remove Android-specific TODOs as the changes have been upstreamed inAndrei Popescu2010-01-222-12/+0
| | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=33944
* | | | Removing reference to a java object that is no longer used.Derek Sollenberger2010-01-213-66/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The native plugin code was creating a java object that was intended to by used by the old Gears code. The java object has been deprecated and is not being used within the native code.
* | | | Merge changes I1b4ba984,I6cadc4f4,Icf99c709,Id22d59b7,I63f3c4edSteve Block2010-01-2116-118/+746
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fixes style in V8 jni_runtime.[cpp|h] Updates V8 version of JavaString to use a private implementation class. Move V8 jni_npobject to bridge/jni/v8/JavaNPObjectV8 and fix style Move V8 jni_instance to bridge/jni/v8/JavaInstanceV8 and fix style Cherry-pick WebKit change 53620 to move bridge interfaces Field, Class, Instance and Array from Bridge to BridgeJSC
| * | | | Updates V8 version of JavaString to use a private implementation class.Steve Block2010-01-213-4/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit change http://trac.webkit.org/changeset/53449 moved the JSC-specific implementation of JavaString to JavaStringJSC.h. This is the V8 equivalent of that change. This is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33953 Change-Id: I6cadc4f4f941aab900aeaf3251a5cad77d050b9b
| * | | | Move V8 jni_npobject to bridge/jni/v8/JavaNPObjectV8 and fix styleSteve Block2010-01-214-1/+226
| | | | | | | | | | | | | | | | | | | | Change-Id: Icf99c709929ef14551de61e55780b97767575f01
| * | | | Move V8 jni_instance to bridge/jni/v8/JavaInstanceV8 and fix styleSteve Block2010-01-213-1/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the V8 equivalent of http://trac.webkit.org/changeset/53412 It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33951 Change-Id: Id22d59b7a5e0be72d594d454bb41c58760d824ff
| * | | | Cherry-pick WebKit change 53620 to move bridge interfaces Field, Class, ↵Steve Block2010-01-218-113/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instance and Array from Bridge to BridgeJSC See http://trac.webkit.org/changeset/53620 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Note that changes to WebCore.xcodeproj were not pulled, as they introduced merge conflicts. Change-Id: I63f3c4ed101badaea3207d53784de04aee49c2ab
* | | | | Merge "Refactor style of Android specific touch events code in preparation ↵Ben Murdoch2010-01-214-5/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | for upstreaming to webkit.org."
| * | | | | Refactor style of Android specific touch events code in preparation for ↵Ben Murdoch2010-01-214-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upstreaming to webkit.org. Change-Id: Id34e727145fe94e98e62a36b7fc8256468b4157c
* | | | | | Merge "Cherry-pick WebKit change 53619 to fix style in JNIBridge"Steve Block2010-01-213-292/+321
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Cherry-pick WebKit change 53619 to fix style in JNIBridgeSteve Block2010-01-213-292/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53619 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: Ic34c760d412b022935a8770cc4b842619c008f15
* | | | | | Merge "Cherry-pick WebKit change 53557 to rename jni_runtime to JNIBridge"Steve Block2010-01-2111-19/+40
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Cherry-pick WebKit change 53557 to rename jni_runtime to JNIBridgeSteve Block2010-01-2111-19/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53557 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: I9a74b4dbdb0a9580372d69cec9e8f9fcab750e49
* | | | | resolved conflicts for merge of 9dabd572 to masterGrace Kloba2010-01-203-23/+35
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| |
| * | | Changing plugin setwindow() to use page coordinateGrace Kloba2010-01-203-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of frame as it is what Flash expects. For other port like Mac, it passes the window coordinate to the plugin. In Android, plugin always sees the full page and we use the visible screen rect to indicate whether it is visible. Change to use page coordinate across PluginView and PluginWidget for consistency. This should fix the problem Ben saw with plugin inside iframe (which is caused by a race condition) and the cnnn ad problem Adobe has.
* | | | Rename V8 jni_utility_private to JNIUtilityPrivate and fixes styleSteve Block2010-01-203-33/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the V8 equivalent of http://trac.webkit.org/changeset/51756 It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33901 Change-Id: I336687e546748a7823f5e2d18f1ac1112a30a60c
* | | | Fixes a bug in V8 version of jni_utility_private.cppSteve Block2010-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CONVERT_NULL_TO_EMPTY_STRING is defined, an 'else' is missing an opening brace. This causes compiler errors. This bug has been present since the code was first committed. See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=7fa30a60f66c19c8e6fb91ef799bca4d8d6f57f2#patch9 Change-Id: I7e95217d166733e6cab1f2e74725e368df4c6f4b
* | | | Move V8 jni_class to bridge/jni/v8/JavaClassV8 and fix styleSteve Block2010-01-203-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the V8 equivalent of http://trac.webkit.org/changeset/53443 It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33898 Change-Id: I27dcf73cc7d8c0303243ea632361f2210819cbc4
* | | | Cherry-pick WebKit change 53533 to fix style in WebCore/bridge/JNIUtilitySteve Block2010-01-203-196/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53533 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: I07f44aef5e30c862aa7d6a84dcf9bc4d36059a6c
* | | | Cherry-pick WebKit change 53497 to rename jni_utility and ↵Steve Block2010-01-2021-54/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am d9b562d6: am 032a9065: Merge "Cherry-pick WebKit change 53541 to fix ↵Steve Block2010-01-208-42/+73
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | style in WebCore/bridge/Bridge" into eclair-mr2 Merge commit 'd9b562d65e56e563079a5a7778a41c98aa6cf1b5' * commit 'd9b562d65e56e563079a5a7778a41c98aa6cf1b5': Cherry-pick WebKit change 53541 to fix style in WebCore/bridge/Bridge
| * | | Cherry-pick WebKit change 53541 to fix style in WebCore/bridge/BridgeSteve Block2010-01-208-42/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53541 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: Ifa112a8700149b21a1a1bbdf8366844adb3a9ae6
* | | | am 0cfc2e19: am 315ee382: Merge "Cherry-pick WebKit change 53489 to fix ↵Steve Block2010-01-203-47/+60
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | style in JavaClassJSC." into eclair-mr2 Merge commit '0cfc2e19eeb90d6897b190b056e192bc1afd5c44' * commit '0cfc2e19eeb90d6897b190b056e192bc1afd5c44': Cherry-pick WebKit change 53489 to fix style in JavaClassJSC.
| * | | Cherry-pick WebKit change 53489 to fix style in JavaClassJSC.Steve Block2010-01-203-47/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/53489 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: I0b422e7f29c760a20da348d97444c164f7cad622
* | | | resolved conflicts for merge of 3f4b1969 to masterSteve Block2010-01-2045-145/+296
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I24c41d6ab08dd3594edd4ff62a1c823c904b9851
| * | | Cherry-pick WebKit change 53449 to move JSC-specific implementation of ↵Steve Block2010-01-195-41/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JavaString to a private implementation class See http://trac.webkit.org/changeset/53449 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Change-Id: I61cfea194d679d506d92ca3951032531d6908965