summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Switch to client-based GeolocationSteve Block2012-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Move GeolocationServiceBridge to WebKit/android/jni and extract Listener ↵Steve Block2012-05-181-0/+1
| | | | | | | | | | | | | | 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
* Rewrite PictureSet with TURBO!John Reck2012-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Delete navcache nativeJohn Reck2012-02-271-6/+0
| | | | | | Will clean up the JNI in a later CL Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
* Delete CacheBuilderJohn Reck2012-02-241-1/+0
| | | | | | Fixed address_detector to pass CTS Change-Id: I6e3c4146d4c03881d036be9b8d8708a8200efef8
* Support phone & email address detectionJohn Reck2012-02-231-1/+2
| | | | Change-Id: Ib5d671eb67d48ea29a0a16a99101eba904a8951c
* Support address detectionJohn Reck2012-02-231-0/+3
| | | | Change-Id: I88b6ebfb4c967e954a2420592a58af3ed188226d
* Drop support for Android HTTP stackSteve Block2012-02-221-8/+2
| | | | | | | | | | | | | 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
* Merge changes I6312736c,I55a2ecd2Steve Block2012-02-221-3/+0
|\ | | | | | | | | | | * changes: Remove benchmark tool Fix comments for willLoadFromCache()
| * Remove benchmark toolSteve Block2012-02-211-3/+0
| | | | | | | | | | | | | | | | 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
* | async find-on-page implementation via WebKitVictoria Lease2012-02-211-1/+0
|/ | | | Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
* Minor draw extras cleanup and refactorJohn Reck2012-01-311-0/+1
| | | | Change-Id: Iba601e384549c11cf659a47e06c586048f624148
* Render dropdown menu nativelyMichael Kolb2012-01-271-1/+0
| | | | Change-Id: I1c76b6177a7d182d68ad050ff4e2951b59104c79
* Render radio buttons and checkboxes directlyMichael Kolb2012-01-251-1/+0
| | | | | | Removed the 9-patch code Change-Id: Ic55a617df6058f69c74dff13bf09a455f0091f92
* Fix form button layoutMichael Kolb2012-01-241-1/+0
| | | | | | | | | Bug: 5822424 Fixed by removing all padding adjustments and rendering buttons natively as draw commands Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
* Remove ANDROID_CSS_RINGJohn Reck2012-01-181-1/+0
| | | | Change-Id: I7395a5f17b0ccfe8dafcc97fa3ab8897676608e9
* Refactor hit test objectJohn Reck2012-01-131-0/+1
| | | | Change-Id: I9729ca695fda4eefd3aa57d96a872010a3cfba9a
* Removing ANDROID_INSTRUMENTATION codeKristian Monsen2011-11-171-2/+0
| | | | | | | | | | | | | | 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
* Replace plugin's OpenGL API with a NativeWindow API.Derek Sollenberger2011-08-031-1/+1
| | | | | bug: 5114637 Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3
* Preparation for fixing bug 5065047: build libchromium as a shared libKristian Monsen2011-07-281-1/+0
| | | | | | | Use FormField from chromium, it is already populated it FormManagerAndroid, so there is no need for the Android implementation anymore. Change-Id: I1ee0fbf6895bd64b2fd1d9a6fbd2f0a93e578831
* Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renamingKristian Monsen2011-06-291-1/+1
| | | | Change-Id: Iefb91f0b784c26b503125017ae3582a28e7d530d
* Implement net::URLRequest::Delegate::OnCertificateRequestedBrian Carlstrom2011-06-091-3/+7
| | | | | | | | | | | | | | | | | | | 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
* Initial support for serializing the view stateJohn Reck2011-06-031-0/+1
| | | | | | Serializes only the base layer currently Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-161-0/+132
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9