diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-06-01 14:50:42 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-06-02 08:42:20 -0400 |
commit | 2d4f1e2553dee6bce5a12162ff6d4459babe2512 (patch) | |
tree | f2c65cc84593c1f198067024808c4022ba22bc7b /src/com/android/browser/XLargeUi.java | |
parent | aed9c54d8e67bb683a5a415b3775525a3ac00508 (diff) | |
download | packages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.zip packages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.tar.gz packages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.tar.bz2 |
Add API to allow plugins to lock their orientation in full-screen
This CL has companion changes in the framework and webkit.
bug: 3398386
Change-Id: Iea198ae6b74c68506e605ca8c401f199e2455416
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
-rw-r--r-- | src/com/android/browser/XLargeUi.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java index 4bfd3cf..1530ed3 100644 --- a/src/com/android/browser/XLargeUi.java +++ b/src/com/android/browser/XLargeUi.java @@ -353,8 +353,9 @@ public class XLargeUi extends BaseUi implements ScrollListener { } @Override - public void showCustomView(View view, CustomViewCallback callback) { - super.showCustomView(view, callback); + public void showCustomView(View view, int requestedOrientation, + CustomViewCallback callback) { + super.showCustomView(view, requestedOrientation, callback); mActivity.getActionBar().hide(); } |