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/Controller.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/Controller.java')
-rw-r--r-- | src/com/android/browser/Controller.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 1f5c8f0..3974a9c 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -1079,14 +1079,14 @@ public class Controller return (searchEngine != null && searchEngine.supportsVoiceSearch()); } - public void showCustomView(Tab tab, View view, + public void showCustomView(Tab tab, View view, int requestedOrientation, WebChromeClient.CustomViewCallback callback) { if (tab.inForeground()) { if (mUi.isCustomViewShowing()) { callback.onCustomViewHidden(); return; } - mUi.showCustomView(view, callback); + mUi.showCustomView(view, requestedOrientation, callback); // Save the menu state and set it to empty while the custom // view is showing. mOldMenuState = mMenuState; |