History log of /external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8e08406dc0936ffd02b77605bb1a638553a8b568 06-Apr-2010 Cary Clark <cary@android.com> suppress compiler warnings in plugin code

Change-Id: I0cadbf8946193ed7a4a7fe0cdeff82a2495d9ef9
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
a622a48d6cc2bea33d2467de9d31feb1b03b03eb 31-Mar-2010 Grace Kloba <klobag@google.com> Make sure html plugin element supports focus so that
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
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
3d6ec5413643e3b591840267fc122b1b88e1f278 26-Mar-2010 Grace Kloba <klobag@google.com> cherry-pick 74f79778892548221468d075f949acb3d4064368 to froyo

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
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
27a298a6476fbd78e67f35441e1428bc878a969d 23-Mar-2010 Derek Sollenberger <djsollen@google.com> Allowing native code access to the application context as long as
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
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
d68483b2c8871634da4f12a5c7c272c47ee8e646 13-Mar-2010 Grace Kloba <klobag@google.com> To enable per file log, only need to define PLUGIN_DEBUG_LOCAL
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
1d7ddf2fb889b97549e1041bbbf53e481b4ced2c 16-Mar-2010 Derek Sollenberger <djsollen@google.com> Ensure a plugin is not shown if it is completely obscured by other
html content.

Change-Id: Iffcc30d47428708842ac5dddee41cc611d879c1c
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
840357963b3a1369006e7b640e829ff1dbc0118c 15-Mar-2010 Derek Sollenberger <djsollen@google.com> If the plugin is in an IFrame we need to reposition the plugins surface
every time the IFrame changes position within the document.

Change-Id: I03090bda439c3a3cac95dce42b3ea37901dc42f8
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
53c459b6262af26361882ff4144f5a79ebc3233f 09-Mar-2010 Grace Kloba <klobag@google.com> If we do change to document focus in mouse down,
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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
6ed4a4e9a23ead7c910239171daf02b8fbecc17b 05-Mar-2010 Leon Scroggins <scroggo@google.com> Only call plugin touch code if it is in full screen
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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
d3de9b89fbda35c06ad20c069229c2849ac5ff2d 08-Mar-2010 Derek Sollenberger <djsollen@google.com> fix to ensure plugins are not shown when they are marked hidden by the DOM.

Change-Id: Ic32359b699d71dcd1603ac9295c95100014fc484
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
f7acc0456b574d63f33aaad3bbbec5344f74ce4b 02-Mar-2010 Derek Sollenberger <djsollen@google.com> fixing problem were plugin surfaces are not created.

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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
51c22fe1544c725107ba905abf61b0735cc16652 02-Mar-2010 Derek Sollenberger <djsollen@google.com> am 4e409302: am a506357e: Adding logging to android\'s plugin view.

Merge commit '4e409302db5afdfb18231bd3e1a86f85302a2599'

* commit '4e409302db5afdfb18231bd3e1a86f85302a2599':
Adding logging to android's plugin view.
a506357ecbae5e506e0c3e46b6ebac632fd22328 02-Mar-2010 Derek Sollenberger <djsollen@google.com> Adding logging to android's plugin view.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c 03-Feb-2010 Grace Kloba <klobag@google.com> Pass touch event time from Java to WebKit

merge from https://android-git.corp.google.com/g/#change,39356
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
5b9b4d4efe739cfa2aa117372879c5c37443e644 03-Feb-2010 Grace Kloba <klobag@google.com> Pass touch event time from Java to WebKit
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
9c3f8716aa3ce8ca612b4200c02a8530cfd599ba 22-Jan-2010 Ben Murdoch <benm@google.com> absoluteToLocal works with a page co-ordinate that is relative to the top 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
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
8f790f8dd3f2e5085a6f3c7bbff878e77fd7ed01 25-Jan-2010 Derek Sollenberger <djsollen@google.com> am 53e1af87: am 2eb76d0b: Add logging for all plugin events and their return values.

Merge commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0'

* commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0':
Add logging for all plugin events and their return values.
2eb76d0bcdf5cdc45cf6188c8bb76a409612235b 22-Jan-2010 Derek Sollenberger <djsollen@google.com> Add logging for all plugin events and their return values.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
12250939d507d6cacda32b1b073ccd0d06a88d11 20-Jan-2010 Grace Kloba <klobag@google.com> resolved conflicts for merge of 9dabd572 to master
1f15f3a9f6dc2a169bbd160e2e1abb161f9927d9 20-Jan-2010 Grace Kloba <klobag@google.com> Changing plugin setwindow() to use page coordinate
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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
f5306da72ab6bb63f7ae07371e687f72a75c2fb2 07-Jan-2010 Ben Murdoch <benm@google.com> Refactor our touch event code to use the version submitted to webkit.org by the Qt team.

Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
838afd1be683057ebaf5cf85359bf9a567602b7b 11-Jan-2010 Derek Sollenberger <djsollen@google.com> consolidating to only use one surface per plugin. give plugin access to java context.

There is a companion commit in frameworks/base.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
d026980fde6eb3b01c1fe49441174e89cd1be298 17-Dec-2009 Mike Reed <reed@google.com> register the eventinterface with our dispatcher list
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
fcce71fa296bf3b42bfc978caa059c55ce8df998 16-Dec-2009 Grace Kloba <klobag@google.com> Implement the full screen WebView plugin.

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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
3d0d3fdaa1308448b47592c03cda81c7f9e1f789 08-Dec-2009 Grace Kloba <klobag@google.com> Enable longpress and doubletap to WebKit as touch
event if it is requested.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
1a15528b92bc6af8faeaad983c380fcca4d1de44 24-Nov-2009 Derek Sollenberger <djsollen@google.com> Refactoring plugins to use new java interfaces.

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.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
e03118fd5d9b776df29de3f96232ed6b5395c845 13-Nov-2009 Steve Block <steveblock@google.com> Fixes license headers for all Android-specific JavaScriptCore and WebCore files not yet 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.

- For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS'
and cleaned up formatting in the existing BSD-style license.
- For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an
Apache 2.0 license to the BSD-style license.
- WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp
- WebCore/platform/graphics/android/BitmapAllocatorAndroid.h
- WebCore/platform/graphics/android/SharedBufferStream.cpp
- WebCore/platform/graphics/android/SharedBufferStream.h
- For the following files, I've changed from an LGPL licese to the BSD-style license.
- WebCore/platform/graphics/android/FontPlatformData.h
- WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp
- WebCore/plugins/android/PluginDataAndroid.cpp

Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
f2a6f2e2f867d06fd84e859cdc37c3293357a6ff 09-Nov-2009 Derek Sollenberger <djsollen@google.com> Allow plugins to load java classes from their apk.

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
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
c7d9090583638605a2c8a779642ad09d1a228520 27-Oct-2009 Derek Sollenberger <djsollen@google.com> changing how plugins gain/lose focus.

Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.

see bug http://b/2033843
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
6d0ea8657f54a650eefa9438bf9e2f4c0709b534 12-Oct-2009 Steve Block <steveblock@google.com> Merge webkit.org at R49305 : Stub out PluginView::halt and PluginView::restart.

See http://trac.webkit.org/changeset/49060

Change-Id: I1af14254d03b1a06c37c1081b12eddaab73fd5ab
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
8667eaf175b0748a1d8783beeeecedfaa983a074 12-Oct-2009 Steve Block <steveblock@google.com> Merge webkit.org at R49305 : PluginView::init and destructor have been moved to common code.

See http://trac.webkit.org/changeset/47966 and http://trac.webkit.org/changeset/47967

Change-Id: If5b9594b032d5a7d456fe3bb6092eafef3655c34
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
2c02e355bf0631c0bec3496fab67f45710c5cd21 24-Sep-2009 Grace Kloba <klobag@google.com> When mouse down or plugin handles touch down, set the plugin
to be the focus of the document so that it can receive key
events. This has the same logic as in PluginViewMac.cpp's
handleMouseEvent().
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
19d8bd10cbc60aee378a8762c27b264a4813445b 21-Sep-2009 Derek Sollenberger <djsollen@google.com> renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls

Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
10d4052577e66430f5a3716ec51a401f1b4b21c2 09-Sep-2009 Derek Sollenberger <djsollen@google.com> First pass at replacing native plugin views with java.

Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
b32f88b61a9162a5194ab02c12fc3aff6140e30e 17-Aug-2009 Ben Murdoch <benm@google.com> Fix the last of the linker errors !
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
02a23642eaae7e2fdd441eddffd2c085fbee3b49 17-Aug-2009 Ben Murdoch <benm@google.com> Fix first set of linker errors.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
0a2bed53555947aea37912d694f9c7c376490808 05-Aug-2009 Grace Kloba <klobag@google.com> Add SystemInterface to the android_npapi so that we can expose system related
properties. Currently it only has getApplicationDataDirectory.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
5655832af95b56bf25c0183a2d5d2cd909d6c8f4 03-Aug-2009 Derek Sollenberger <djsollen@google.com> Fixing mouse and touch coordinates inside iframes.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
a620c76d9611eccae475b9d602d7f4bfc11b93c2 28-Jul-2009 Derek Sollenberger <djsollen@google.com> fixing plugin event handling for touch to return the correct value.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
e0204f4150fd9c321f119dc78d9e23e3164b4b1d 20-Jul-2009 Derek Sollenberger <djsollen@google.com> removing visibleRect event and tracking rectangles instead.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
f86737b0ce8c81f2b529503f83eb8b064769eeca 16-Jul-2009 Derek Sollenberger <djsollen@google.com> Adding plugin support for an RGBA surface view.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
939b5797c66ea70736c01eaec2dc694c909035d3 08-Jul-2009 Derek Sollenberger <djsollen@google.com> Ensuring the plugin maintains control of the nav keys until it explicity releases them.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
d5e46442a26bd94d35230562671fc1979b3bb7a0 07-Jul-2009 Derek Sollenberger <djsollen@google.com> plugins are now sent the correct coordinates even when the page is scrolled.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
3a9f8eaff978cf1a11c725266c852f8d43755539 02-Jul-2009 Derek Sollenberger <djsollen@google.com> added gain/loose focus support for plugins. (focus = eligible to receive user events)
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
5c6846a9fb474dce40db8859579e0d6a3f802787 29-Jun-2009 Derek Sollenberger <djsollen@google.com> Adding support for plugins to request the keyboard.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
d3fd788536f3fe65035a8fbba4ede47701716c43 26-Jun-2009 Derek Sollenberger <djsollen@google.com> Adding mouse events to the plugin API
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
56ce2fa12f7492cf355cfb37b80b679d7921f6d4 15-Jun-2009 Derek Sollenberger <djsollen@google.com> Adding touch events for plugins.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
a6ac9647bf473365f8d817790e11aeda7374a6d8 10-Jun-2009 Mike Reed <reed@google.com> add pixelpacking api
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
a2c69492fd11733119d4f6ce3540acdfee9bf88c 08-Jun-2009 Derek Sollenberger <djsollen@google.com> Added support for plugins receiving lifecycle events such as gain/lose focus.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
2ca6453fc4f0b0ba77f29630f3036d1765db9702 13-May-2009 Mike Reed <reed@google.com> add test for plugin api for paths (and some fixes)
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
109a58c31072b14f5b2c0493ed6c5a1855f82fd7 25-Apr-2009 Feng Qian <fqian@google.com> Make WebCore built with V8.

Picked up several new files from Chrome port.
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
ba96c5ad9d140287cc378faec6bd9384836a00e6 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
635860845790a19bf50bbc51ba8fb66a96dde068 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
648161bb0edfc3d43db63caed5cc5213bc6cb78f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
498e5e4ad10920a9cfae6fdb7ffb19a6ed936ba7 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
7a355dabbffb876b2e08cf63ac4fc28a39c19c6a 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp
9364f22aed35e1a1e9d07c121510f80be3ab0502 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/webkit/WebCore/plugins/android/PluginViewAndroid.cpp