summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge webkit.org at r58033 : Add JSC guards around calls to JSLockSteve Block2010-05-111-0/+4
| | | | | | | This was added to WebKit in http://trac.webkit.org/changeset/55433. It does not cause problems on Chromium as they exclude this file from the build. Change-Id: I77e94d5c18d99fb24578416ef31e559f35386372
* Merge webkit.org at r58033 : Initial merge by gitSteve Block2010-05-1125-399/+448
| | | | Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1
* Merge webkit.org at r55033 : Implement PluginPackage::NPVersion for AndroidSteve Block2010-04-271-0/+5
| | | | | | See http://trac.webkit.org/changeset/54940 Change-Id: I2c3153606ab0eb9a4598e211def2f07f60eab3da
* Merge webkit.org at r55033 : Fix merge conflictsSteve Block2010-04-271-30/+9
| | | | | | | | | | - Android.v8bindings.mk - Keep ours, conflict due to upstreaming of using DerivedSourcesAllInOne.cpp - V8Index.h - Keep ours, conflict due to upstreaming of touch events - GeolocationService.h - Take both, conflict due to Android-specific change for pausing service - PluginView.cpp - Take both, conflict due to Android-specific change to guard JSC headers - V8DOMWrapper.cpp - Keep ours, conflict due to addition of WORKERS guards Change-Id: Ib640e64caecbb8cb31272dbfbc18d95f32f9d126
* Merge webkit.org at r55033 : Initial merge by gitSteve Block2010-04-2711-30/+84
| | | | Change-Id: I98a4af828067cc243ec3dc5e5826154dd88074b5
* suppress compiler warnings in plugin codeCary Clark2010-04-061-0/+3
| | | | Change-Id: I0cadbf8946193ed7a4a7fe0cdeff82a2495d9ef9
* Fix pluginstream delay timer as it is expecting secondsGrace Kloba2010-04-021-1/+5
| | | | | | | instead of milliseconds. While the timer is active, don't deliverData. Fix http://b/issue?id=2567300
* Make sure html plugin element supports focus so thatGrace Kloba2010-03-311-5/+3
| | | | | | | | | | plugin can call focus() on it. By default, only nodes can be tabbed through supports focus. We make plugin element like frame element where it always supports focus. In Android, plugin has a focused mode, so it requires this change. Fix http://b/issue?id=2539608
* Merge "cherry-pick 74f79778892548221468d075f949acb3d4064368 to froyo" into froyoGrace Kloba2010-03-302-17/+21
|\
| * cherry-pick 74f79778892548221468d075f949acb3d4064368 to froyoGrace Kloba2010-03-302-17/+21
| | | | | | | | | | | | | | | | | | | | In Android, as we always remap the plugin from page space to view space, we do want to update when the rect in the page space changed. This should fix the bug where the plugin is inside a fixed position. So even its page coordinate changed when scrolling, its window coordinate didn't change. We missed the update. Fix http://b/issue?id=2542934
* | Ask the plugin how long to wait before calling NPN_WriteReady() again.Andrei Popescu2010-03-302-2/+23
|/ | | | Change-Id: I46b25a5869e91e0075913caca5e57380f72f6107
* Allowing native code access to the application context as long asDerek Sollenberger2010-03-231-4/+15
| | | | | | | | | | there is at least one valid instance of the webviewcore class. This change allows plugins access to the application context when the plugin package is loaded, prior to any instances of the plugin being created. Change-Id: I74a58cf76cc3c2d0ef7bca19346f13f58f616830
* Add a new API on the resource loader to pause the current load. We use this ↵Ben Murdoch2010-03-221-0/+10
| | | | | | | | | | | when the plugin cannot accept any more data to prevent WebKit buffering the data that the plugin can't take. This can result in a crash if the buffer gets too big (when watching an HD movie clip in flash, for example). Requires a frameworks/base change. Change-Id: Ibb63d38df1014ff70fa4d65275613cbf3a217c1a
* Fill in appropriate referer URL plugin initiated resource loading.Shimeng (Simon) Wang2010-03-181-0/+16
| | | | | | | Didn't think of better way to code in the common code. Bug:2512527 Change-Id: Ie656ce1c399f238187045be41ece1fc2feefab90
* To enable per file log, only need to define PLUGIN_DEBUG_LOCALGrace Kloba2010-03-161-1/+1
|
* Ensure a plugin is not shown if it is completely obscured by otherDerek Sollenberger2010-03-161-3/+4
| | | | | | html content. Change-Id: Iffcc30d47428708842ac5dddee41cc611d879c1c
* Merge "Fix the V8 NPObject reference count problem."Grace Kloba2010-03-161-1/+3
|\
| * Fix the V8 NPObject reference count problem.Grace Kloba2010-03-161-1/+3
| | | | | | | | | | | | | | | | | | | | To match JSC version, after getNPObject() is called, the object should have ref count 2. One will be released in ~PluginView(). Another one will be released by the plugin. This should fix the crash of Flash using V8. Fix http://b/issue?id=2511963
* | If the plugin is in an IFrame we need to reposition the plugins surfaceDerek Sollenberger2010-03-151-5/+18
|/ | | | | | every time the IFrame changes position within the document. Change-Id: I03090bda439c3a3cac95dce42b3ea37901dc42f8
* Actually call the script when plugins try to invoke scripts from v8Leon Clarke2010-03-111-5/+13
| | | | http://b/issue?id=2506729
* If we do change to document focus in mouse down,Grace Kloba2010-03-091-3/+4
| | | | | | | | set default handled so that EventHandler won't try to change the document focus. This should address the problem Adobe saw when tapping on a object may cause both GainFocus and LostFocus life cycle events.
* Only call plugin touch code if it is in full screenLeon Scroggins2010-03-091-25/+10
| | | | | | | | | | | | | 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.
* fix to ensure plugins are not shown when they are marked hidden by the DOM.Derek Sollenberger2010-03-091-5/+19
| | | | Change-Id: Ic32359b699d71dcd1603ac9295c95100014fc484
* fixing problem were plugin surfaces are not created.Derek Sollenberger2010-03-021-0/+8
| | | | | | | | | | The problem occurs when a page containing a plugin is refreshed or the plugin is loaded using javascript. If the window size is set before the plugin view has its parent sent then the plugin surfaces were not being initialized. This change ensures that if that happens the surfaces will still be created. see bug #2476059.
* am 4e409302: am a506357e: Adding logging to android\'s plugin view.Derek Sollenberger2010-03-021-6/+17
|\ | | | | | | | | | | | | Merge commit '4e409302db5afdfb18231bd3e1a86f85302a2599' * commit '4e409302db5afdfb18231bd3e1a86f85302a2599': Adding logging to android's plugin view.
| * Adding logging to android's plugin view.Derek Sollenberger2010-03-021-6/+17
| |
| * Pass touch event time from Java to WebKitGrace Kloba2010-02-021-1/+1
| |
* | Merge webkit.org at r54731 : Fix remaining merge conflictsSteve Block2010-02-161-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | - AutoFillPopupMenuClient.h - Take theirs, git got confused - PluginView.h - Conflict due to new OS macro - Gradient.cpp - Conflict due to new argument due to setPlatformGradientSpaceTransform - Android.derived.v8bindings.mk - Keep ours - DragImage.h - Take both - V8DocumentCustom.cpp - Take theirs - XCode project - Take both to keep Android-addition of GeolocationPositionCache Change-Id: I3f294a71af93fb4e02b57e0169bd25143132df15
* | Merge webkit.org at r54731 : Initial merge by gitSteve Block2010-02-166-18/+73
| | | | | | | | Change-Id: Ia79977b6cf3b0b00c06ef39419989b28e57e4f4a
* | Use common version of PluginView::parentFrameSteve Block2010-02-151-1/+0
| | | | | | | | | | | | This was added in http://trac.webkit.org/changeset/42748 Change-Id: Ifcb9308d817203b6e23945ceedd83b9f9eb2e80f
* | Merge webkit.org at r54340 : Initial merge by gitSteve Block2010-02-151-1/+1
| | | | | | | | Change-Id: Ib489d2ff91186ea3652522e1d586e54416a2cf44
* | Merge webkit.org at r54127 : Fix final trivial mergesSteve Block2010-02-041-7/+2
| | | | | | | | Change-Id: Ib24c66a3c609fd1c8ae9697f471a8abc85e5aa33
* | Merge webkit.org at r54127 : Fix conflicts due to use of OS_ANDROIDSteve Block2010-02-041-13/+5
| | | | | | | | | | | | See http://trac.webkit.org/changeset/52791 Change-Id: I0e1a6ae16f93cdbb12ae5770607a220079451cb8
* | Merge webkit.org at r54127 : Resolve conflicts in WebCore/bridgeSteve Block2010-02-041-3/+0
| | | | | | | | | | | | | | | | Keep ours for generic bridge code as this is a work in progress. Take theirs for conflicts on other platforms due to bridge changes. Take theirs for updates for recently moved JSC JNI bridge. Change-Id: I7db68450a369bb652755cc4b9555083c76b07510
* | Merge webkit.org at r54127 : Initial merge by gitSteve Block2010-02-0420-128/+702
| | | | | | | | Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
* | Pass touch event time from Java to WebKitGrace Kloba2010-02-031-3/+3
| | | | | | merge from https://android-git.corp.google.com/g/#change,39356
* | Changes to make Bridge.h script-engine independent are completeSteve Block2010-01-271-5/+0
| | | | | | | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=32154 Change-Id: I76355f3e002af505560a8a8cfce1c98322f66230
* | absoluteToLocal works with a page co-ordinate that is relative to the top ↵Ben Murdoch2010-01-261-3/+3
| | | | | | | | | | | | | | | | 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
| | |
* | | 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
| |/
* | 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.
* | 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.
* | Cherry-pick WebKit change 53497 to rename jni_utility and ↵Steve Block2010-01-201-8/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* | resolved conflicts for merge of 3f4b1969 to masterSteve Block2010-01-206-19/+25
|\ \ | |/ | | | | Change-Id: I24c41d6ab08dd3594edd4ff62a1c823c904b9851
| * Cherry-pick WebKit change 53464 to rename WebCore/bridge/runtime to ↵Steve Block2010-01-196-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | WebCore/bridge/Bridge See http://trac.webkit.org/changeset/53464 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Note that this change required an update to ScriptControllerAndroid.cpp and a manual fix in PluginView.cpp to add a temporary ANDROID guard. Change-Id: Ib2fe7793f7b3212e3b41324ff7dc5bb15c0e14b4
* | Refactor our touch event code to use the version submitted to webkit.org by ↵Ben Murdoch2010-01-201-10/+17
|/ | | | | | the Qt team. Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0