summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|\ \ | |/
| * Bring up the IME after receiving a response from webkit.Leon Scroggins2010-01-111-1/+1
| | | | | | | | | | | | Fix for http://b/issue?id=2361658 Requires a change to frameworks/base.
* | am a82fdbb6: am 050a2ac7: Merge change Ifcce71fa into eclair-mr2Grace Kloba2009-12-163-1/+12
|\ \ | |/ | | | | | | | | | | Merge commit 'a82fdbb65304d541753351815d51ab4035a99dc9' * commit 'a82fdbb65304d541753351815d51ab4035a99dc9': Implement the full screen WebView plugin.
| * Implement the full screen WebView plugin.Grace Kloba2009-12-163-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a NoTitleBar_Fullscreen dialog to implement the full screen plugin. This runs in the same thread as WebView (UI in the Browser case). One catch is that the SurfaceView provided by the plugin needs to be opaque if it doesn't want to see through the WebView. The PluginFullScreenHolder translates the events to the underline WebView. Special treatment in the touch case as it needs to translate the coordinates. WebView can't be panned, or double tap to zoom, or long press to trigger the context menu while having a full screen plugin. Inside webkit, we also give the plugin element focus when it goes to the full screen so that it takes key events. While handling key events, we don't let it loose focus or scroll out. Todo: When a plugin goes to full screen, we should make sure the embedded plugin is fully visible. Otherwise when we translate the touch events back, they will be outside of the visible rect and will be ignored. This is part 2 of 2-project check in.
* | am 5a144aa0: am b13fe228: Notify native plugin code when the browser ↵Derek Sollenberger2009-12-143-15/+46
|\ \ | |/ | | | | | | | | | | | | | | discards the customView. Merge commit '5a144aa00c0f8d25e58a5f93fe4732a474f043bf' * commit '5a144aa00c0f8d25e58a5f93fe4732a474f043bf': Notify native plugin code when the browser discards the customView.
| * Notify native plugin code when the browser discards the customView.Derek Sollenberger2009-12-143-15/+46
| |
* | am 41527663: am 213584b6: Merge change I514e3218 into eclair-mr2Mike Reed2009-12-102-0/+110
|\ \ | |/ | | | | | | | | | | Merge commit '415276639e9cc2b78eaf9edab9de55a3e2ff975d' * commit '415276639e9cc2b78eaf9edab9de55a3e2ff975d': add event interface for plugins, so they can post an event to themselves (from any thread)
| * add event interface for plugins, so they can post an event to themselves ↵Mike Reed2009-12-102-0/+110
| | | | | | | | (from any thread)
| * Enable longpress and doubletap to WebKit as touchGrace Kloba2009-12-091-4/+20
| | | | | | | | event if it is requested.
* | am d24133a9: am dcab27c3: Switching from activity based full screen plugins ↵Derek Sollenberger2009-12-102-1/+13
|\ \ | |/ | | | | | | | | | | | | | | to a view system overlay. Merge commit 'd24133a9678b18bf5e1e9c0edd14fc8e9d2a1d45' * commit 'd24133a9678b18bf5e1e9c0edd14fc8e9d2a1d45': Switching from activity based full screen plugins to a view system overlay.
| * Switching from activity based full screen plugins to a view system overlay.Derek Sollenberger2009-12-082-1/+13
| |
* | am 3d0d3fda: Enable longpress and doubletap to WebKit as touch event if it ↵Grace Kloba2009-12-101-4/+20
| | | | | | | | | | | | | | | | | | is requested. Merge commit '3d0d3fdaa1308448b47592c03cda81c7f9e1f789' into eclair-mr2-plus-aosp * commit '3d0d3fdaa1308448b47592c03cda81c7f9e1f789': Enable longpress and doubletap to WebKit as touch
* | Use STLPort instead of our stripped version.Patrick Scott2009-12-021-0/+1
|/ | | | | | | This fixes the simulator build and allows us to get closer to sharing code with chromium. STLPort was copied with minor edits from the Android port of gears.
* cleaning up local JNI references for plugins and caching appropriate JNI ids.Derek Sollenberger2009-12-011-9/+37
|
* Cleanup how a plugin requests to go full-screen.Derek Sollenberger2009-12-013-16/+7
|
* Cleaning up android_npapi by removing implemented functions and unused ↵Derek Sollenberger2009-11-303-44/+3
| | | | parameters.