b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page.
This change receives the URL which has a cert error from webkit and carrys it in SslError.
so the Browser app can show the URL in the dialog boxes. Related CLs are:
webkit: https://android-git.corp.google.com/g/#change,117817
browser: https://android-git.corp.google.com/g/#change,117835
Change-Id: I65c3f038a48b6386fa93cb25a9ef70dbfb982c18
1. While mapping Android hover to WebKit mouse events I was not
taking into account the horizontal and vertical scroll.
bug:4807087
Change-Id: Ie24a8a30ce6a20d27b627ae7c7fbff1b74d140c8
This can happen when applications are using WebView to show HTML5 video in
full screen mode while not setting up WebChromeClient correctly.
Change-Id: I6575e3364f04f6eaf800f854d60992fe6c3be651
1. use correct mDefaultScale instead of 1.0f.
2. ignore mMinZoomScaleFixed in case of using wide viewport since
sometimes mobile site will impose a min scale while the web content
will make it bigger than overview scale.
issue: 4257815
Change-Id: Ib4ca9b4dab8585827081a32432076eeeaedecd38
Allows browser to know when to update the crash state in response
to a textfield's contents changing
Change-Id: Idda7a2931f4c9ae01418b91bbabb1e237f118664
In case it's the first time to reflow or the page is in zoom overview
mode, let the reflow and zoom happen at the same time to avoid the
need of double tapping twice.
Also fix the viewport width to webview's original width for mobile
site.
issue: 4482888
Change-Id: Ic7c73a9eb3f75fd68322f7f4da14141126e75ad8
Following the example of reportSslCertError, implement requestClientCert
ERROR CASE CLIENT CERT CASE
<... From external/webkit ...> <... From external/webkit ...>
android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert
CallbackProxy.onReceivedSslError CallbackProxy.onReceivedClientCertRequest
WebViewClient.onReceivedSslError WebViewClient.onReceivedClientCertRequest
<... See packages/apps/Browser ...> <... See packages/apps/Browser ...>
SslErrorHandler.proceed (with SslCertLookupTable) ClientCertRequestHandler.proceed (with SslClientCertLookupTable)
android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert
<... To external/webkit ...> <... To external/webkit ...>
Change-Id: I2ba6007ad9b2ee520a0a6b17f3a767679b1664de
Also updates the documentation to make clear how the encoding parameter should be used.
Bug:4541798
Change-Id: I9283513fbd8bcc3dc54056cfa2d0ab2425681824
The way that smooth scrolling is implemented in the Browser,
repeated requests to scroll by a certain amount do not add up
to one large scroll by the cumulative amount. This makes
the mouse wheel unusable on large pages because the Browser
will scroll at a more or less constant rate no matter how often
the wheel is turned.
The fix is to not animate scrolls when using the mouse wheel.
Change-Id: I23c05cdd2383944b8730deb225b7f3f57f1729df
Normally this wouldn't happen as a new picture should come after
webcore has initialized. However, now that a view state can be loaded,
setting a new picture needs to be delayed until after everything has
initialized.
Change-Id: I823bc17eb939eab0436d7a398ebcbe849c0fb945
Framework for serializing the view state
Still needs to prevent sending messages to webkit (pinch
zoom doesn't work correctly as a result)
Change-Id: Ic3f8fe19b27ff1f841b556e87f582dab2a6d903b
Old deprecated method for enabling/disabling plugins was
ignoring flag parameter and causing plugins always to be loaded.
Fixes issue 17242.
Change-Id: I1da10a3ee7f3041e59b43641169c3935a05aa347
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
In full screen mode, the play message can be trigger, that means we can't
assume that the play message only comes from inline mode.
bug:4498120
Change-Id: Ibf85bb74778df207a6ce786dc63b0845356a281c