diff options
author | Grace Kloba <klobag@google.com> | 2010-03-19 18:40:09 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2010-03-19 18:40:09 -0700 |
commit | 140b33aa6f3edbb95963d7b594edeec4673ab124 (patch) | |
tree | a0157d35f1ff6ee89f09ad2eefdb10d7d1db72ef /src/com/android | |
parent | 80380ed1b6b1cd59b5da7474202963f87ec32ab8 (diff) | |
download | packages_apps_Browser-140b33aa6f3edbb95963d7b594edeec4673ab124.zip packages_apps_Browser-140b33aa6f3edbb95963d7b594edeec4673ab124.tar.gz packages_apps_Browser-140b33aa6f3edbb95963d7b594edeec4673ab124.tar.bz2 |
Enable +/- zoom control for the sub-window.
This should also enable the pinch zoom
Fix http://b/issue?id=2530401
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/Tab.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index 8cbaa4d..e78fa45 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -1420,6 +1420,8 @@ class Tab { mSubView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY); // use trackball directly mSubView.setMapTrackballToArrowKeys(false); + // Enable the built-in zoom + mSubView.getSettings().setBuiltInZoomControls(true); mSubView.setWebViewClient(new SubWindowClient(mWebViewClient)); mSubView.setWebChromeClient(new SubWindowChromeClient( mWebChromeClient)); |