summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebCoreFrameBridge.h
Commit message (Collapse)AuthorAgeFilesLines
* Provide referer when download requestedSelim Gurun2012-08-291-1/+1
| | | | | | | | Bug: 6662557 Provide the plumbing for passing referer for downloads. Change-Id: Ia4af34632be5e5df44b7d19501db1b589c45cddf
* New touch input supportJohn Reck2012-04-111-8/+0
| | | | | | Bug: 6317798 Change-Id: Idea47af14e282b42c902c8158f08f6742ba576da
* Drop support for Android HTTP stackSteve Block2012-02-221-6/+0
| | | | | | | | | | | | | 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
* Correctly guard WebFrame methods needed only with the Chromium HTTP stackSteve Block2011-10-121-6/+3
| | | | | | This fixes the break in builds which use the Android HTTP stack. Change-Id: I0feb885754c34e96216c8e0c28390808f424534e
* Modify BrowserFrame.requestClientCert() to take the host and port as a StringSteve Block2011-10-121-1/+1
| | | | | | | | | | | | | | | | Currently we get the host and port from Chromium as a std::string, convert to a jbyte array to pass over JNI, then convert to String. It's simpler to convert directly to jstring and to pass that over JNI. This also fixes the fact that WebFrame::requestClientCert() fails to call ReleaseByteArrayElements(). Requires https://android-git.corp.google.com/g/141238 in frameworks/base. Bug: 5442710 Change-Id: If81fdef338ecdf2debeece0ebb9926bd261ae219
* Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-311-0/+2
| | | | | | | | | | | | | | | WebViewClient.shouldOverrideUrlLoading() In the case of a server-side redirect, we were triggering a callback to WebViewClient.onPageStarted() before we'd called WebViewClient.shouldOverrideUrlLoading(). This change delays calling WebViewClient.onPageStarted() until after WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the WebView should continue with the load. Bug: 5191031 Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-3/+3
| | | | | | | | | | | | 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
* Plumb a bool through to Java to supress auth dialog.Ben Murdoch2011-08-051-1/+1
| | | | | | | | | | | | | | In the case of a prefetch or favicon load, we want to silently fail auth loads but allow the use of cached credentials. To acheive this, pass an extra flag through to Java to decide whether to show the prompt or not. Requires: frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8 Bug: 5094761 Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255
* Safely convert punycode IDN to Unicode for display.Shimeng (Simon) Wang2011-07-211-1/+5
| | | | | | | | Use chromium's net::IDNToUnicode to accomplish this, which adopts safe measures for converting. issue: 4384726 Change-Id: If265a849ff0e9d6782705fc1639391bab9e6bcab
* 2nd try: Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-281-1/+1
| | | | | | | | Same as this CL https://android-git.corp.google.com/g/#change,117817 except one minor change to make the build happy: Change-Id: Ie863737eee00c42de5d7a289b60aff8c2cfaa8e2
* Revert "Bubbles up the url that has the invalid certificate."Huahui Wu2011-06-281-1/+1
| | | | This reverts commit f072ccf633e8c2c2812289f0e65f18320f2147c8.
* Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-271-1/+1
| | | | | | | | | | b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page This CL bubbles the url, which has the invalid cert, up to framework to display it. Related CLs are: Framework: https://android-git.corp.google.com/g/#change,117828 Browser: https://android-git.corp.google.com/g/#change,117835 Change-Id: If01ea2320aa50450a6d3d409123bed5a9f101d61
* Implement net::URLRequest::Delegate::OnCertificateRequestedBrian Carlstrom2011-06-091-0/+2
| | | | | | | | | | | | | | | | | | | 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
* Fix some include guards in Android filesSteve Block2011-06-081-3/+3
| | | | | | | | | This will become relevant after we merge beyond http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018) which relies on all platforms' instances of FontPlatformData.h using the correct include guard. Change-Id: I58ec4c8ee23698c41d86794333d603b95f303764
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-161-0/+173
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9