| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
bug:7188900
Change-Id: I9cfc020be463b0441a3d718d44cc6c948781d7cf
|
|
|
|
|
|
|
|
| |
Bug: 7082715
Also fixes the glitch with drawing a disabled select leaving
an alpha set on the context
Change-Id: I8414ca4332f4828453e4f5b1e9186b13d319dfbb
|
|
|
|
|
|
| |
Everything goes through either PlatformGraphicsContext or recordingCanvas()
Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
|
|
|
|
|
|
|
| |
The UI no longer needs to know about password field changes as
it is not required like it was with the removed WebTextView.
Change-Id: I16a6bb44c31c83c5c3e9cb70f2bc865d5eb2732c
|
|\
| |
| |
| |
| |
| |
| | |
handlers
* commit '8959907b97e269d7183d4817f295234718b41365':
Support skipping a touch stream due to lack of handlers
|
| |
| |
| |
| |
| |
| | |
Bug: 6317798
Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
implementation
These forks to WebCore code are not required with the client-based
implementation, as we can suspend and resume the client directly.
Bug: 6511338
Change-Id: I7be5b4224555bc8c3893b75275ac3a997a6677d1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The motivation for this switch is that it is required to enable
PREEMPT_GEOLOCATION_PERMISSION. See b/4500947.
The switch involves changing lots of Android's WebKit plumbing to use a new
GeolocationClientAndroid in WebKit (called from
WebCore::GeolocationController), rather than the existing
GeolocationServiceAndroid in WebCore/platform (called from
WebCore::Geolocation). This is complicated by the need to support mocking for
LayoutTests.
The pattern used is very similar to that used for DeviceOrientation and
DeviceMotion. This patch ...
- Enables CLIENT_BASED_GEOLOCATION
- Leaves PREEMPT_GEOLOCATION_PERMISSION disabled for now
- Removes GeolocationServiceAndroid
- Adds a new GeolocationClientAndroid
- Just a proxy to real client
- Adds a new GeolocationManager
- Manages switching between the real and mock clients
- Provides the appropriate client to GeolocationClientAndroid
- Plumbs to the real client calls for permissions and for suspending/resuming
- Adds a new GeolocationClientImpl
- The real client
- Based heavily on GeolocationServiceAndroid
- Delegates to GeolocationServiceBridge, as GeolocationServiceAndroid did
- Calls back directly to GeolocationController
- Owns the existing GeolocationPermissions
- Updates WebViewCore to call the GeolocationManager for permissions and for
suspending/resuming
- Removes superfluous ChromeClient methods for permissions
Note that support for mocking will be added in a later change. See bug for
details.
Bug: 6511338
Change-Id: I4cdbf55846e76b37c161834b83135b4dc48dbcdc
|
|\ \
| |/
| |
| |
| | |
* commit '655f75feeee4c396740a8e768888c7c8f0602cb8':
Switch to a 4ms/1s timer
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 6523124
Bug: 6523033
Use a 4ms timer for foreground tabs, and a 1s timer
for background tabs
Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '80e066f593d481ee02fc9cde720967532015493e':
Revert part of "Fix iframe, ..."
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix DOMWindow innerWidth and innerHeight to report correct values even
after an orientation change. Uses platform-specific widget.
This reverts part of commit I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733.
Bug: 6479900
Change-Id: Ic5c8785e35b14d6723eee4f4dfe1b0a3e1ec284a
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
interface
Also modify GeolocationServiceBridge to take a WebViewCore rather than a Frame.
This will simplify the transition to client-based implementation, which will
re-use GeolocationServiceBridge.
No functional change.
Bug: 6511338
Change-Id: I2de9dfed51d785c85b40f362f20189f208adf6ec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes how partial invals are done by adding a hybrid mode.
What we used to do is generate a SkPicture for the new area. This
SkPicture would possibly be larger than the actual inval, depending
on various merge rules (more SkPictures == slower to draw a tile)
The new code rewrites PictureSet entirely, preserving many of the old rules
but cleans up the code and adds the concept of a "PrerenderedInval". This is
a partial inval that WebKit has rasterized. By having WebKit produce both
a SkPicture and a SkBitmap, we avoid needing to play back the picture and
avoid overdrawing. We take this SkBitmap, and simply update the front
textures with it. This gives us full partial invals through the entire
system without hitting any driver bugs, and with minimal copies. And while
the SkPicture may be larger than the inval, the SkBitmap that is rasterized
is not - it matches the area webkit has said is dirty.
Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
|
|
|
|
|
|
| |
Bug 6257532
Change-Id: Ic1c27ecdcbc6e4e6cf69dd73eb9b7b9a6d8b2c70
|
|
|
|
|
|
| |
Bug 6257532
Change-Id: I1d1ae457c50fe5b9627df7edb4f11d8245b5bdbf
|
|
|
|
| |
Change-Id: I41feadb23dce25af321331c459eb159c6141831b
|
|
|
|
| |
Change-Id: I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Will clean up the JNI in a later CL
Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
|
|/
|
|
| |
Change-Id: I7b2b3a7312c89bc505d7f629380df0d3f24eee5f
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I2b11c0b0011104c5a3515ed138a9077dfe8b4ce1
|
|/
|
|
| |
Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
|
|
|
|
|
|
| |
First step. Move libui headers to their new home.
Change-Id: I2e770e6b53c2f34432b0df2937c4cc33af6dc52b
|
|
|
|
|
|
|
| |
Also removes such code from downstream edits to non-Android-specific code.
Bug: 5495373
Change-Id: I478824af2e6ff0eff9a43a9534c2a5ee0e99e9f8
|
|
|
|
|
|
| |
Bug: 6019693
Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
|
|
|
|
| |
Change-Id: I1c76b6177a7d182d68ad050ff4e2951b59104c79
|
|
|
|
|
|
| |
Removed the 9-patch code
Change-Id: Ic55a617df6058f69c74dff13bf09a455f0091f92
|
|
|
|
|
|
|
|
|
| |
Bug: 5822424
Fixed by removing all padding adjustments and rendering buttons
natively as draw commands
Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
|
|
|
|
|
|
| |
bug:4232704
Change-Id: Ice99bc0fa19de93627fe8ffb91085838fa682315
|
|\
| |
| |
| |
| | |
* commit '0de683c1b300c8e788c178c63b7dc71189c0a3d8':
Fix combobox metrics and asset scaling
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 5521553
Change-Id: I630eda2ffd90d0c986f00c5a2a4b523e93537192
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 5268793
The scrolled area for WebView is 0,0 - maxX,maxY while
ScrollView can have any origin. On RTL pages, the origin
is negative when it can scroll. This scrolls the page
to the right when it detects an RTL page.
Cherry-picked from master CL: I6a91b97f
Framework CL: I2537b84a
Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 5268793
The scrolled area for WebView is 0,0 - maxX,maxY while
ScrollView can have any origin. On RTL pages, the origin
is negative when it can scroll. This scrolls the page
to the right when it detects an RTL page.
Framework CL: I2537b84a
Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
|
|\ \
| |/
| |
| |
| | |
* commit '82ccbd8ce95211b4b5afad6a653462fd3beb771b':
Remove the global button lock
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 5558699
Bug: 5572238
Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
|
|/
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I821098330652380686aca9e83222936bd5678970
|
|
|
|
|
|
|
|
| |
Bug: 5354009
12 for left/right
8 for top/bottom
Change-Id: Iec50b82b95d24b3a50c858017f52d52310c86ee9
|
|
|
|
|
|
|
|
| |
Since the code move to the /shadow part, revert the previous change c/130242
and put in this new change.
bug:4598827
Change-Id: I6592050e198d2801d87ccc1558ceb2bf6dfc25d5
|
|
|
|
|
|
| |
bug:4598827
Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than decoding the graphics when we create a WebView, wait until
we actually need them. This saves about 50ms on native WebView creation time.
Requires frameworks/base change:
I5a2e87d03d73fa74ebb00c33567783225ed97d3a
Bug: 5084146
Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ImageBuffers used by canvas can eat a ton of memory quickly, so
be mindful of the available memory on the device before allocating
them.
See also frameworks/base change
I3d0f85075497c2a374cd866b0223eecaaa4b5f46
Bug: 5142892
Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21
|
|
|
|
| |
This reverts commit 706c2b4c3089f2832c8172c0581e3df110bf534c.
|
|
|
|
|
| |
issue: 4982074
Change-Id: I5d86539a17393f3060cd67bd4c6888734037c7e4
|
|
|
|
|
|
| |
See http://trac.webkit.org/changeset/81860
Change-Id: I7ba9cf3f5a739f4d94e9189f6eb6dd4f8f645787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- FileSystemAndroid.cpp, FileSystemPOSIX.cpp
Use new common version of listDirectory(), which is identical to the
existing Android version.
- StorageNamespace.h, StorageNamespaceImpl.h
Conflict due to Android's clearPage()
- PageGroup.cpp
Conflict due to Android's clearDomStorage()
See http://trac.webkit.org/changeset/80892
Change-Id: Ifac131155f5019959de8761438cd0372547b0e6c
|
|
|
|
| |
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
|