Index: content/shell/renderer/test_runner/mock_screen_orientation_client.h |
diff --git a/content/shell/renderer/test_runner/mock_screen_orientation_client.h b/content/shell/renderer/test_runner/mock_screen_orientation_client.h |
index 147bb2be631cf8a1227417b4d80b72cb1bf0e728..99fb1119a7da3064148af7c902061c944585d120 100644 |
--- a/content/shell/renderer/test_runner/mock_screen_orientation_client.h |
+++ b/content/shell/renderer/test_runner/mock_screen_orientation_client.h |
@@ -12,7 +12,7 @@ |
#include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
namespace blink { |
-class WebFrame; |
+class WebLocalFrame; |
} |
namespace content { |
@@ -23,16 +23,16 @@ class MockScreenOrientationClient : public blink::WebScreenOrientationClient { |
virtual ~MockScreenOrientationClient(); |
void ResetData(); |
- void UpdateDeviceOrientation(blink::WebFrame*, |
- blink::WebScreenOrientationType); |
+ void UpdateDeviceOrientation(blink::WebLocalFrame* main_frame, |
+ blink::WebScreenOrientationType orientation); |
blink::WebScreenOrientationType CurrentOrientationType() const; |
unsigned CurrentOrientationAngle() const; |
private: |
// From blink::WebScreenOrientationClient. |
- virtual void lockOrientation(blink::WebScreenOrientationLockType, |
- blink::WebLockOrientationCallback*); |
+ virtual void lockOrientation(blink::WebScreenOrientationLockType orientation, |
+ blink::WebLockOrientationCallback* callback); |
virtual void unlockOrientation(); |
void UpdateLockSync(blink::WebScreenOrientationLockType, |
@@ -44,7 +44,7 @@ class MockScreenOrientationClient : public blink::WebScreenOrientationClient { |
blink::WebScreenOrientationType SuitableOrientationForCurrentLock(); |
static unsigned OrientationTypeToAngle(blink::WebScreenOrientationType); |
- blink::WebFrame* main_frame_; |
+ blink::WebLocalFrame* main_frame_; |
blink::WebScreenOrientationLockType current_lock_; |
blink::WebScreenOrientationType device_orientation_; |
blink::WebScreenOrientationType current_orientation_; |