| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
The problem was that layers may have a different size than their corresponding element,
but we used the layer's size instead of the element's to compute the fixed position.
The fix asks for the element visible overflow size (needed, some children may be outside the bounds of the element itself).
|
|\ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.
Drawing the find results, text selection, or the cursor ring,
interleaves with any layers that may be drawn. The main picture
is treated as owned by a LayerAndroid so each component can
decide when to draw.
This change leave the main picture in WebViewCore.cpp, and
draws everything else in WebView.cpp -- in the future, additional
refactoring can put all drawing in one place.
The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.
Android.mk
- Add rule to trigger building without layers from buildspec.mk.
LayerAndroid.*
- Replace FindOnPage reference with abstract DrawExtra class to
draw adornments in the layers' canvas context.
- Add a LayerAndroid constructor to create a dummy layer with a
SkPicture* and a uniqueId==-1 so that extras can detect when
they are drawn by the main picture.
android_graphics.*
- Move cursor ring drawing out of WebView.cpp to here.
- Separate cursor ring setup from actual drawing.
- Get the cursor ring metrics in local coordinates.
ChromeClientAndroid.cpp
- Fix compiler warnings.
WebViewCore.*
- Move updateCursorBounds from WebView.cpp. This permits it to
be called from CursorRing::setup.
CachedFrame.*
CachedNode.*
CachedLayer.*
- Add local bounds getters.
CachedRoot.h
- Move class FindCanvas to the android namespace.
DrawExtra.h
- Add an abstract class called by LayerAndroid to optionally
draw extra elements in its canvas context.
FindCanvas.*
SelectText.*
- Refactor drawing to draw in layers context.
WebView.cpp
- Move drawing from WebView.java.
- Remove selection code to SelectText.cpp.
- Use inverseScale to simplify viewPort metrics.
- Simplify layer root so java doesn't need to know about it.
Requires companion change in frameworks/base
http://b/2457316
http://b/2454127
http://b/2454149
|
|\ \ \
| | | |
| | | |
| | | | |
stylesheet has defined one."
|
| | | |
| | | |
| | | |
| | | | |
has defined one.
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Rename setRootLayer to setUIRootLayer
* Fixed some logs in GraphicsLayerAndroid
* Added back the diagonal drawing debug code in LayerAndroid
* Simplified ChromeClientAndroid, removed compositingLayerSync()
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | | |
Change-Id: I7274d12baa4718280e8cc677583e5308c7917a56
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TouchCancel events. The old behavior creates an issue now we support pinch to zoom where releasing the pinch will always send a touch cancel to WebCore as the Java land touch event type is ACTION_POINTER_UP.
Change-Id: Ie691f4a3c5ba6a09c3838deb37d8b9e0671c835b
|
|/ / / |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These were erroneously added in a previous WebKit merge.
See https://android-git.corp.google.com/g/#change,39242
Change-Id: I192911ec35d7447ae3933cf4903aacd2ab202a3a
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
origination and its arrival at the plugin." into eclair-mr2
Merge commit 'da8d052d7e1bf81587412213cf6680538d0bf687' into eclair-mr2-plus-aosp
* commit 'da8d052d7e1bf81587412213cf6680538d0bf687':
adding logging to determine the delay between event origination and its arrival at the plugin.
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
its arrival at the plugin." into eclair-mr2
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
arrival at the plugin.
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Merge commit 'f494d11a4894673d0dae0ce65ae911209f9821e2'
* commit 'f494d11a4894673d0dae0ce65ae911209f9821e2':
Do not merge.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Merge commit '48633eb761269223d399736219ca400d62df8027' into eclair-mr2-plus-aosp
* commit '48633eb761269223d399736219ca400d62df8027':
Do not merge.
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implement redirectDataToPlugin.
This fixes going to swf files directly (i.e. http://foo.com/bar.swf).
Bug: 2435632
|
|\ \ \ \ \ \
| |/ / / / /
| | | / / /
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
with plugin execution time
Merge commit '5bce666850444bb87efe0be67046e7648ff15e67'
* commit '5bce666850444bb87efe0be67046e7648ff15e67':
Added new logging messages and updated event logs with plugin execution time
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
execution time
Merge commit '15027de75d16455fd1e449b771fac8fd2cf88233' into eclair-mr2-plus-aosp
* commit '15027de75d16455fd1e449b771fac8fd2cf88233':
Added new logging messages and updated event logs with plugin execution time
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently, if an iframe causes the Geolocation permissions prompt to be shown,
but the frame is navigated away before the user responds to the permissions
prompt, the prompt is not removed from the screen.
This change fixes that bug. It uses the new
ChromeClient::cancelGeolocationPermissionRequestForFrame() method, which was
cherry-picked from WebKit in https://android-git.corp.google.com/g/#change,41747
The logic is complicated by the fact that multiple iframes may have requested
Geolocation permissions for the same origin. In this case, we should not hide
the prompt until the last such frame is navigated away.
Bug: 2463551
Change-Id: I1e4de05586150c7a94bc8343f6e56e4a4870cd3b
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
there were a few small changes upon the review comments.
This CL makes corresponding changes in Android code base to be
consistent with the open source Webkit trunk.
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
behavior on iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion."
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion.
Update EventHandler::handleTouchEvent to match what landed to webkit in http://trac.webkit.org/changeset/55146
Change-Id: I91dfcfbbb53020b85f646bcf58eb4f3afd6be8e7
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
submitted to webkit.org"
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
webkit.org
See http://trac.webkit.org/changeset/55142
Change-Id: I8fabc89b596b0e61e8ae389e07af2e898de3bad1
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Geolocation permission request"
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Geolocation permission request
This is part of the change required to fix a Geolocation permissions bug.
See https://android-git.corp.google.com/g/#change,40601
Note that We take only the WebCore component of the change, but additional
changes are required to ChromeClientAndroid.
See http://trac.webkit.org/changeset/55136
Change-Id: Iff0eab3adc3e41876df7f114c0d50243d015664f
|
| | | | | |
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes going to swf files directly (i.e. http://foo.com/bar.swf).
Bug: 2435632
|
|\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
iterating through the list of plugins.
Merge commit '4c76da0e5177ea82be36bb81e67b52d51a5a72bb'
* commit '4c76da0e5177ea82be36bb81e67b52d51a5a72bb':
Fixes error where plugin is created while iterating through the list of plugins.
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
list of plugins.
Merge commit '1044e7fd4ebb61e6133d4f4dda69810e3af9da14' into eclair-mr2-plus-aosp
* commit '1044e7fd4ebb61e6133d4f4dda69810e3af9da14':
Fixes error where plugin is created while iterating through the list of plugins.
|
| | | |
| | | |
| | | |
| | | | |
bug #2438492
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
RenderLayer.cpp"
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
See http://trac.webkit.org/changeset/55081
Change-Id: If34e70743c554b2a5e8315b2657cce6964805f6a
|
|/ / /
| | |
| | |
| | | |
Bug:2457438
|
| | |
| | |
| | |
| | |
| | | |
With layers enabled, servicing timers saturate the CPU at times.
This also fixes a compile-time switch in FindCanvas to disable layers.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Clip the nodes inside the layer to the layer's bounds
Don't crash if the layer with the matching id can't be found.
http://b/2453945
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
values
See http://trac.webkit.org/changeset/55020
Change-Id: I4d6c067dcafc43d2798c55e042e446d4964b326f
|