Index: content/renderer/screen_orientation/mock_screen_orientation_controller.h |
diff --git a/content/renderer/screen_orientation/mock_screen_orientation_controller.h b/content/renderer/screen_orientation/mock_screen_orientation_controller.h |
index 31420555fb247d24756883d2b6a915bf3bfe3080..af896cb2e3ea615230fbc742ec8885253b9dd857 100644 |
--- a/content/renderer/screen_orientation/mock_screen_orientation_controller.h |
+++ b/content/renderer/screen_orientation/mock_screen_orientation_controller.h |
@@ -16,6 +16,7 @@ class WebScreenOrientationListener; |
} |
namespace content { |
+class RenderView; |
class MockScreenOrientationController |
: public base::RefCountedThreadSafe<MockScreenOrientationController> { |
@@ -26,7 +27,9 @@ class MockScreenOrientationController |
void ResetData(); |
void UpdateLock(blink::WebScreenOrientationLockType); |
void ResetLock(); |
- void UpdateDeviceOrientation(blink::WebScreenOrientationType); |
+ void UpdateDeviceOrientation( |
+ RenderView* render_view, |
+ blink::WebScreenOrientationType); |
private: |
virtual ~MockScreenOrientationController(); |
@@ -41,6 +44,7 @@ class MockScreenOrientationController |
blink::WebScreenOrientationType device_orientation_; |
blink::WebScreenOrientationType current_orientation_; |
blink::WebScreenOrientationListener* listener_; |
+ RenderView* render_view_; |
DISALLOW_COPY_AND_ASSIGN(MockScreenOrientationController); |
friend class base::LazyInstance<MockScreenOrientationController>; |