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

Unified Diff: content/public/browser/screen_orientation_delegate.h

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/public/browser/screen_orientation_delegate.h
diff --git a/content/public/browser/screen_orientation_delegate.h b/content/public/browser/screen_orientation_delegate.h
index 243d2c3659b141e55560786039772cc36edbf67a..39fe3375be35961747eccd8ae92cfe1477d8d3cc 100644
--- a/content/public/browser/screen_orientation_delegate.h
+++ b/content/public/browser/screen_orientation_delegate.h
@@ -25,13 +25,14 @@ class CONTENT_EXPORT ScreenOrientationDelegate {
virtual bool FullScreenRequired(WebContents* web_contents) = 0;
// Lock display to the given orientation.
- virtual void Lock(blink::WebScreenOrientationLockType lock_orientation) = 0;
+ virtual void Lock(WebContents* web_contents,
+ blink::WebScreenOrientationLockType lock_orientation) = 0;
// Are ScreenOrientationProvider requests currently supported by the platform.
virtual bool ScreenOrientationProviderSupported() = 0;
// Unlocks the display, allowing hardware rotation to resume.
- virtual void Unlock() = 0;
+ virtual void Unlock(WebContents* web_contents) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegate);

Powered by Google App Engine
This is Rietveld 408576698