summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Merge Webkit at r58956: Update plugin code to use C99 types. See ↵Ben Murdoch2010-05-145-18/+18
| | | | | | http://trac.webkit.org/changeset/58590 Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
* Merge webkit.org at r58033 : Update location of CString.hSteve Block2010-05-111-3/+2
| | | | | | See http://trac.webkit.org/changeset/56825 Change-Id: I8ba6a9685dcd1d8c4dec3400fba81e19fcbfe74d
* am 6452300d: am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect ↵Derek Sollenberger2010-05-031-0/+10
|\ | | | | | | | | | | | | | | | | returned when locking a surface. Merge commit '6452300d47d77d78e874862c5f7908746b04c1f8' into kraken * commit '6452300d47d77d78e874862c5f7908746b04c1f8': Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.
| * Update plugin's dirtyRect to match the dirtyRect returned when locking a ↵Derek Sollenberger2010-05-031-0/+10
| | | | | | | | | | | | | | surface. Change-Id: I2c3e6daa10eb9eb651be52bf9387008f154b176d http://b/2650954
* | don't hardcode "mSurface" throughout our source codeMathias Agopian2010-04-121-1/+1
|/ | | | | | | this is used in a few places to get access to the android.view.Surface native surface. use a macro instead. Also rename the field to mNativeSurface. Change-Id: Icb894b09b3c9a4878b4bfb4dd24f752fa5f0dcde
* Fix for Bug:2579468Nicolas Roard2010-04-082-5/+17
| | | | | | Instead of deleting the PluginTimer in unschedule(), we just flag it, and delete it if necessary when it fires. Change-Id: I55bdc38705204e0197917af4eb5bc2784553e68f
* Allowing native code access to the application context as long asDerek Sollenberger2010-03-231-1/+8
| | | | | | | | | | 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
* Pass selection data along with message to open the keyboard.Leon Scroggins2010-03-181-1/+1
| | | | | | | | Fixes http://b/issue?id=2431351 Requires a change to frameworks/base Change-Id: I7f703746bdd00aaae2607a6a41ac4916f43d37b1
* window may not be initialized when plugin is first calledCary Clark2010-03-181-1/+2
| | | | | Change-Id: I37ba49b9cbd5170613f0d8e694aa79b49585a8ee http://b/2524032
* To enable per file log, only need to define PLUGIN_DEBUG_LOCALGrace Kloba2010-03-162-2/+2
|
* Ensure a plugin is not shown if it is completely obscured by otherDerek Sollenberger2010-03-162-9/+37
| | | | | | html content. Change-Id: Iffcc30d47428708842ac5dddee41cc611d879c1c
* Putting Grace's change back in now that we have the new apk from Adobe.Bart Sears2010-03-152-2/+2
| | | | | | Revert "Temporary revert the new android_npapi. Waiting for" This reverts commit 31ba9c5b345211c7c89d08a762c09582a3975738.
* If the plugin is in an IFrame we need to reposition the plugins surfaceDerek Sollenberger2010-03-151-0/+5
| | | | | | every time the IFrame changes position within the document. Change-Id: I03090bda439c3a3cac95dce42b3ea37901dc42f8
* Clean up full-screen mode plugins now that they handle touchDerek Sollenberger2010-03-151-3/+1
| | | | | | | | in their java view. There is a matching commit in frameworks/base Change-Id: Ibe76eb22c2b5ccc7fb80e4807edcbbc4d25e4793
* Temporary revert the new android_npapi. Waiting forGrace Kloba2010-03-122-2/+2
| | | the new apk from Adobe.
* Add requestCenterFitZoom to android_npapi so thatGrace Kloba2010-03-124-0/+20
| | | | | Flash can trigger the smart-zoom Fix http://b/issue?id=2510670
* Update android_npapi to remove the special codeGrace Kloba2010-03-091-14/+0
| | | | added for mwc.
* Only call plugin touch code if it is in full screenLeon Scroggins2010-03-093-12/+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.
* fix to ensure plugins are not shown when they are marked hidden by the DOM.Derek Sollenberger2010-03-093-33/+71
| | | | Change-Id: Ic32359b699d71dcd1603ac9295c95100014fc484
* disable visiblerect debugging printfsMike Reed2010-03-041-1/+1
|
* am 70a336f2: am da8d052d: Merge "adding logging to determine the delay ↵Derek Sollenberger2010-02-231-3/+8
|\ | | | | | | | | | | | | | | | | between event origination and its arrival at the plugin." into eclair-mr2 Merge commit '70a336f20c4244b6f93ba593e999e83f23af1145' * commit '70a336f20c4244b6f93ba593e999e83f23af1145': adding logging to determine the delay between event origination and its arrival at the plugin.
| * adding logging to determine the delay between event origination and its ↵Derek Sollenberger2010-02-231-3/+8
| | | | | | | | arrival at the plugin.
* | am 5bce6668: am 15027de7: Added new logging messages and updated event logs ↵Derek Sollenberger2010-02-233-16/+36
|\ \ | |/ | | | | | | | | | | | | | | with plugin execution time Merge commit '5bce666850444bb87efe0be67046e7648ff15e67' * commit '5bce666850444bb87efe0be67046e7648ff15e67': Added new logging messages and updated event logs with plugin execution time
| * Added new logging messages and updated event logs with plugin execution timeDerek Sollenberger2010-02-233-16/+36
| |
| * Pass touch event time from Java to WebKitGrace Kloba2010-02-023-0/+10
| |
* | Use common version of PluginView::parentFrameSteve Block2010-02-151-1/+1
| | | | | | | | | | | | This was added in http://trac.webkit.org/changeset/42748 Change-Id: Ifcb9308d817203b6e23945ceedd83b9f9eb2e80f
* | split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-1/+1
| |
* | Pass touch event time from Java to WebKitGrace Kloba2010-02-033-0/+10
| | | | | | merge from https://android-git.corp.google.com/g/#change,39356
* | Stop forwarding touch events from Java when the top level document is ↵Ben Murdoch2010-01-271-8/+2
| | | | | | | | | | | | | | | | | | | | | | detached rather than when eventHandlers are cleared for a frame. Also no longer keep track of the number of touch event handlers that a page has registered. If a page requests touch events, always send them from Java until a new page is loaded. This simplifies the logic when dealing with the page cache as otherwise as well as restoring the forwarding of touch events when a page is restored from the page cache, we would need to restore the number of touch handlers that have been registered. Change-Id: I0269e1632a37ccbf105bac658c2cb7f1d5cd3052
* | am 562a8a46: am 53c84f3c: Do not allow the plugin to show or hide the ↵Derek Sollenberger2010-01-253-7/+22
|\ \ | |/ | | | | | | | | | | | | | | keyboard unless it has focus. Merge commit '562a8a469695e0a2dee4eb1946847553f04ca2a2' * commit '562a8a469695e0a2dee4eb1946847553f04ca2a2': Do not allow the plugin to show or hide the keyboard unless it has focus.
| * Do not allow the plugin to show or hide the keyboard unless it has focus.Derek Sollenberger2010-01-253-7/+22
| |
* | am 71ce050b: am c45f962c: Merge "Correcting how the plugin\'s bounding ↵Derek Sollenberger2010-01-253-73/+86
|\ \ | |/ | | | | | | | | | | | | | | coordinates are computed." into eclair-mr2 Merge commit '71ce050b9dbf42b1f1f33269021af49371c20a54' * commit '71ce050b9dbf42b1f1f33269021af49371c20a54': Correcting how the plugin's bounding coordinates are computed.
| * Correcting how the plugin's bounding coordinates are computed.Derek Sollenberger2010-01-253-73/+86
| |
* | am 53e1af87: am 2eb76d0b: Add logging for all plugin events and their return ↵Derek Sollenberger2010-01-254-21/+161
|\ \ | |/ | | | | | | | | | | | | | | 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-254-21/+161
| |
* | am de7e9124: am ec4b5ee4: As we are sharing the view between embedded and ↵Grace Kloba2010-01-211-11/+10
|\ \ | |/ | | | | | | | | | | | | | | full screen, we should make sure to call the correct update when bounds changed. Merge commit 'de7e9124bea659d873d5488809d92a334104cb53' * commit 'de7e9124bea659d873d5488809d92a334104cb53': As we are sharing the view between embedded and full
| * As we are sharing the view between embedded and fullGrace Kloba2010-01-211-11/+10
| | | | | | | | | | | | screen, we should make sure to call the correct update when bounds changed. This should fix the crash when changing orientation.
* | am 67c90537: am 72acb46d: Fix the crash of exiting full screen by checking null.Grace Kloba2010-01-201-1/+2
|\ \ | |/ | | | | | | | | | | Merge commit '67c90537fc70147ad8943f0a2cd02def405bcf8f' * commit '67c90537fc70147ad8943f0a2cd02def405bcf8f': Fix the crash of exiting full screen by checking null.
| * Fix the crash of exiting full screen by checking null.Grace Kloba2010-01-201-1/+2
| | | | | | | | | | When we exit full screen, we place the embedded view on the screen, so we need to destroy it again in the destructor
* | resolved conflicts for merge of 9dabd572 to masterGrace Kloba2010-01-202-75/+30
|\ \ | |/
| * Changing plugin setwindow() to use page coordinateGrace Kloba2010-01-202-75/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-203-9/+11
| | | | | | | | | | | | | | | | | | | | | | 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-201-4/+15
| | | | | | | | | | | | the Qt team. Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
* | am 2ba2794f: am 4d667d7f: Exit the fullscreen mode when the PluginWidget is ↵Grace Kloba2010-01-192-1/+9
|\ \ | |/ | | | | | | | | | | | | | | destroyed. Merge commit '2ba2794f78c094c88827bafc31f42afefe710d1e' * commit '2ba2794f78c094c88827bafc31f42afefe710d1e': Exit the fullscreen mode when the PluginWidget is
| * Exit the fullscreen mode when the PluginWidget isGrace Kloba2010-01-192-1/+9
| | | | | | destroyed.
* | am 8752c4d3: am f8ffa7ae: Merge "adding event to notify the plugin when it ↵Derek Sollenberger2010-01-123-1/+23
|\ \ | |/ | | | | | | | | | | | | | | is on/off screen." into eclair-mr2 Merge commit '8752c4d3c7d623f1f6314e8b662d3626c849ca97' * commit '8752c4d3c7d623f1f6314e8b662d3626c849ca97': adding event to notify the plugin when it is on/off screen.
| * adding event to notify the plugin when it is on/off screen.Derek Sollenberger2010-01-123-1/+23
| |
* | resolved conflicts for merge of ab89d1aa to masterDerek Sollenberger2010-01-113-43/+77
|\ \ | |/
| * consolidating to only use one surface per plugin. give plugin access to java ↵Derek Sollenberger2010-01-113-43/+77
| | | | | | | | | | | | context. There is a companion commit in frameworks/base.
* | resolved conflicts for merge of 9653e7ce to masterLeon Scroggins2010-01-111-1/+1
|\ \ | |/