| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Added binding to android port for Html5 WebSockets.
Added external API for enabling\disabling from browser.
SSL Web Sockets are not implemented in the current version.
Change-Id: Ie37569107c429492ee91b153939ab1ef4e07435e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Will clean up the JNI in a later CL
Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
|
|
|
|
|
|
| |
Fixed address_detector to pass CTS
Change-Id: I6e3c4146d4c03881d036be9b8d8708a8200efef8
|
|
|
|
| |
Change-Id: Ib5d671eb67d48ea29a0a16a99101eba904a8951c
|
|
|
|
| |
Change-Id: I88b6ebfb4c967e954a2420592a58af3ed188226d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All future releases will use the Chromium HTTP stack and maintaining two HTTP
stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we
now use V8 in all build targets (b/5495373), so we can safely drop the Android
HTTP stack.
See corresponding framework change
https://android-git.corp.google.com/g/166325.
Bug: 5495616
Change-Id: I41117b6750fbc1c84cbd4a5951b0d1a457354f93
|
|\
| |
| |
| |
| |
| | |
* changes:
Remove benchmark tool
Fix comments for willLoadFromCache()
|
| |
| |
| |
| |
| |
| |
| |
| | |
This relies on use of the Android HTTP stack, which hasn't been used since
before HC, so is of little value.
Bug: 5458617
Change-Id: I6312736cb139cd7a4e295e1cb6390d2a797fd37b
|
|/
|
|
| |
Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
|
|
|
|
| |
Change-Id: Iba601e384549c11cf659a47e06c586048f624148
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I7395a5f17b0ccfe8dafcc97fa3ab8897676608e9
|
|
|
|
| |
Change-Id: I9729ca695fda4eefd3aa57d96a872010a3cfba9a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has not been used for years, and due to WebKit merges the
results are not accurate anymore.
The resulting code is cleaner, less likely to create merge conflicts,
and does not give the impression that this can be turned on and
it will still work.
Needs CL:
https://android-git.corp.google.com/g/#/c/148912/
Change-Id: I617ad00c103ab72038371a3203452d2ccec0e50c
|
|
|
|
|
| |
bug: 5114637
Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3
|
|
|
|
|
|
|
| |
Use FormField from chromium, it is already populated it FormManagerAndroid,
so there is no need for the Android implementation anymore.
Change-Id: I1ee0fbf6895bd64b2fd1d9a6fbd2f0a93e578831
|
|
|
|
| |
Change-Id: Iefb91f0b784c26b503125017ae3582a28e7d530d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following the example of OnSSLCertificateError, implement OnCertificateRequested
ERROR CASE CLIENT CERT CASE
net::URLRequest::Delegate::OnSSLCertificateError net::URLRequest::Delegate::OnCertificateRequested
WebRequest::OnSSLCertificateError WebRequest::OnCertificateRequested
WebUrlLoaderClient::reportSslCertError WebUrlLoaderClient::requestClientCert
WebFrame::reportSslCertError WebFrame::requestClientCert
android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert
<... See frameworks/base ...> <... See frameworks/base ...>
android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert
WebCoreFrameBridge::SslCertErrorProceed WebCoreFrameBridge::SslClientCert
WebUrlLoaderClient::proceedSslCertError WebUrlLoaderClient::sslClientCert
WebRequest::proceedSslCertError WebRequest::sslClientCert
net::URLRequest::ContinueDespiteLastError net::URLRequest::ContinueWithCertificate
Change-Id: I6513678a3c553bf329640119ff96df9a39a41e49
|
|
|
|
|
|
| |
Serializes only the base layer currently
Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
|
|
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
|