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); |