Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: content/browser/screen_orientation/screen_orientation_delegate_android.cc

Issue 648733003: Implement ScreenOrientationDelegate on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/screen_orientation/screen_orientation_delegate_android.cc
diff --git a/content/browser/screen_orientation/screen_orientation_delegate_android.cc b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
index bb2f5bc61f9d0d3f0dae48774010b36e7b1963d6..839b24c901bd7318beaa89283ee0d21c27697a39 100644
--- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc
+++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
@@ -42,6 +42,7 @@ bool ScreenOrientationDelegateAndroid::FullScreenRequired(
}
void ScreenOrientationDelegateAndroid::Lock(
+ WebContents* web_contents,
blink::WebScreenOrientationLockType lock_orientation) {
Java_ScreenOrientationProvider_lockOrientation(
base::android::AttachCurrentThread(), lock_orientation);
@@ -52,7 +53,7 @@ bool ScreenOrientationDelegateAndroid::ScreenOrientationProviderSupported() {
return true;
}
-void ScreenOrientationDelegateAndroid::Unlock() {
+void ScreenOrientationDelegateAndroid::Unlock(WebContents* web_contents) {
Java_ScreenOrientationProvider_unlockOrientation(
base::android::AttachCurrentThread());
}

Powered by Google App Engine
This is Rietveld 408576698