| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This will allow us to build with touch events disabled once we've merged
https://bugs.webkit.org/show_bug.cgi?id=39222
Change-Id: Ia665e5e6c3b4169b6c5576aa26721d95e72934e9
|
| |
|
|
|
|
| |
http://trac.webkit.org/changeset/58590
Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
|
| |
|
|
|
|
| |
http://trac.webkit.org/changeset/58821
Change-Id: I3ab2eb4fdb14e32106c4b2ef51b889f2ffcd3661
|
| |
|
|
|
|
|
|
| |
platformStaticGetValue()
See http://trac.webkit.org/changeset/55432
Change-Id: I21b1185ce5a86d902c7a5de3f7866e82c6fe3ee8
|
| |
|
|
| |
Change-Id: I0cadbf8946193ed7a4a7fe0cdeff82a2495d9ef9
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
| |
html content.
Change-Id: Iffcc30d47428708842ac5dddee41cc611d879c1c
|
| |
|
|
|
|
| |
every time the IFrame changes position within the document.
Change-Id: I03090bda439c3a3cac95dce42b3ea37901dc42f8
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Change-Id: Ic32359b699d71dcd1603ac9295c95100014fc484
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| |
| |
| | |
Merge commit '4e409302db5afdfb18231bd3e1a86f85302a2599'
* commit '4e409302db5afdfb18231bd3e1a86f85302a2599':
Adding logging to android's plugin view.
|
| | | |
|
| | | |
|
| | |
| |
| | |
merge from https://android-git.corp.google.com/g/#change,39356
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
values.
Merge commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0'
* commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0':
Add logging for all plugin events and their return values.
|
| | | |
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/
|
|
|
|
| |
the Qt team.
Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
|
| |
|
|
|
|
| |
context.
There is a companion commit in frameworks/base.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
event if it is requested.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
See http://trac.webkit.org/changeset/49060
Change-Id: I1af14254d03b1a06c37c1081b12eddaab73fd5ab
|
| |
|
|
|
|
|
|
| |
to common code.
See http://trac.webkit.org/changeset/47966 and http://trac.webkit.org/changeset/47967
Change-Id: If5b9594b032d5a7d456fe3bb6092eafef3655c34
|
| |
|
|
|
|
| |
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().
|
| |
|
|
|
|
| |
calls
Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
|
| |
|
|
| |
Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
|
| | |
|
| | |
|
| |
|
|
| |
properties. Currently it only has getApplicationDataDirectory.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
releases them.
|
| | |
|
| |
|
|
| |
user events)
|
| | |
|
| | |
|