Index: components/test_runner/mock_screen_orientation_client.h |
diff --git a/components/test_runner/mock_screen_orientation_client.h b/components/test_runner/mock_screen_orientation_client.h |
index ad868541ca17b2b4a1d6fd1f4c52beabf98d1cc2..15cb81d489c6ad17add20f484f8b74be1a5a6987 100644 |
--- a/components/test_runner/mock_screen_orientation_client.h |
+++ b/components/test_runner/mock_screen_orientation_client.h |
@@ -31,6 +31,7 @@ |
blink::WebScreenOrientationType CurrentOrientationType() const; |
unsigned CurrentOrientationAngle() const; |
+ bool is_active() const { return is_active_; } |
private: |
// From blink::WebScreenOrientationClient. |
@@ -51,6 +52,7 @@ |
blink::WebScreenOrientationLockType current_lock_; |
blink::WebScreenOrientationType device_orientation_; |
blink::WebScreenOrientationType current_orientation_; |
+ bool is_active_; |
DISALLOW_COPY_AND_ASSIGN(MockScreenOrientationClient); |
}; |