summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Refactoring plugins to use new java interfaces.Derek Sollenberger2009-11-304-73/+43
| | | | | | | This change contains extensive cleanup as we now keep track of a pointer to the plugin's java entry point (WebkitPlugin.class). Also given that we track this object and changes to plugin packaging we nolonger need to pass additional parameters in quite a few methods.
* Fixes license headers for all files in WebKit/android, other than those in stl/.Steve Block2009-11-1325-52/+88
| | | | | | | | | | | | | These files have not yet been upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. This change adds licenses where absent or simply fixes the names of copyright holders in the license text to 'THE COPYRIGHT OWNER' and cleans up formatting. Files in stl/ currently use licenses other than BSD-style and will require more careful treatment. Change-Id: I67ad4b8932e432d3eaaeecdfeb0d09418496228d
* Allow plugins to load java classes from their apk.Derek Sollenberger2009-11-094-11/+55
| | | | | | | | Relocate ANPSystemInterface into its own file and provide the ability to call into java and load a plugin's java class from their apk. see http://b/2215696
* Updating the documentation for plugins.Derek Sollenberger2009-10-191-36/+47
|
* Enabling plugins to stay in sync with UI when the DOM changes.Derek Sollenberger2009-10-132-12/+28
|
* add debugging, tweak data for flash work in progressCary Clark2009-10-121-7/+49
| | | | | | | | | Attempts to get the plugin to scroll when the ime appears. Add debugging strings to help track events to show plugin object. Add focusCandidate interfaces. Tweak rectangles from plugin so they don't disappear. Prefer found matches in nav cache that are later in the document.
* adding API to enable plugins to request full screen modeDerek Sollenberger2009-09-224-33/+38
| | | | Change-Id: Ib3373af6ff127399d1d0846ba30a4275da5b3133
* renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent ↵Derek Sollenberger2009-09-213-6/+25
| | | | | | calls Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
* cleaning up old surface view API'sDerek Sollenberger2009-09-211-37/+0
| | | | Change-Id: I333c2eebff22df1a56099fad7d8ec366627f4e22
* First pass at replacing native plugin views with java.Derek Sollenberger2009-09-157-373/+183
| | | | Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
* update dox. no code changeMike Reed2009-08-281-1/+7
|
* adding additional documentation for the plugin apiDerek Sollenberger2009-08-111-3/+49
|
* cleaning up and adding more doxygen commentsDerek Sollenberger2009-08-111-41/+49
|
* modifying the android_npapi.h to accomodate surfaces with different pixel ↵Derek Sollenberger2009-08-106-48/+49
| | | | formats.
* enabling plugin surfaces to manually scale based on the zoom level.Derek Sollenberger2009-08-074-25/+11
|
* fixing the surface size if the plugin elects to not handle zoomEvents.Derek Sollenberger2009-08-063-4/+4
|
* first cut at adding zoom support for plugins.Derek Sollenberger2009-08-063-7/+29
|
* Add SystemInterface to the android_npapi so that we can expose system relatedGrace Kloba2009-08-052-0/+83
| | | | properties. Currently it only has getApplicationDataDirectory.
* adding the first cut for the onLoad plugin event.Derek Sollenberger2009-08-041-0/+1
|
* Merge change 9656Android (Google) Code Review2009-08-042-14/+36
|\ | | | | | | | | * changes: enhancing visibleRect tracking and making it work within iframes.
| * enhancing visibleRect tracking and making it work within iframes.Derek Sollenberger2009-08-042-14/+36
| |
* | Merge change 9526Android (Google) Code Review2009-08-032-4/+24
|\ \ | |/ | | | | | | * changes: Fixing mouse and touch coordinates inside iframes.