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
diff --git a/src/com/android/browser/WebViewController.java b/src/com/android/browser/WebViewController.java
index 87703bd..018af99 100644
--- a/src/com/android/browser/WebViewController.java
+++ b/src/com/android/browser/WebViewController.java
@@ -72,7 +72,8 @@
void onDownloadStart(Tab tab, String url, String useragent, String contentDisposition,
String mimeType, long contentLength);
- void showCustomView(Tab tab, View view, WebChromeClient.CustomViewCallback callback);
+ void showCustomView(Tab tab, View view, int requestedOrientation,
+ WebChromeClient.CustomViewCallback callback);
void hideCustomView();