summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Controller.java
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-06-01 14:50:42 -0400
committerDerek Sollenberger <djsollen@google.com>2011-06-02 08:42:20 -0400
commit2d4f1e2553dee6bce5a12162ff6d4459babe2512 (patch)
treef2c65cc84593c1f198067024808c4022ba22bc7b /src/com/android/browser/Controller.java
parentaed9c54d8e67bb683a5a415b3775525a3ac00508 (diff)
downloadpackages_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.java4
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;