Chromium Code Reviews| Index: components/test_runner/test_runner.h |
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h |
| index b671cee215287d1b1665da684844b895d6bed672..8abc27b50b8e286305bba22dbcd3ac8ba6265147 100644 |
| --- a/components/test_runner/test_runner.h |
| +++ b/components/test_runner/test_runner.h |
| @@ -41,6 +41,7 @@ class Arguments; |
| namespace test_runner { |
| class InvokeCallbackTask; |
| +class MockScreenOrientationClient; |
| class TestInterfaces; |
| class WebContentSettings; |
| class WebTestDelegate; |
| @@ -81,6 +82,7 @@ class TestRunner : public WebTestRunner, |
| // Methods used by WebTestProxyBase. |
| bool shouldStayOnPageAfterHandlingBeforeUnload() const; |
| + MockScreenOrientationClient* getMockScreenOrientationClient(); |
| bool shouldDumpSelectionRect() const; |
| bool isPrinting() const; |
| bool shouldDumpAsTextWithPixelResults(); |
| @@ -812,6 +814,8 @@ class TestRunner : public WebTestRunner, |
| } pointer_lock_planned_result_; |
| bool use_mock_theme_; |
| + scoped_ptr<MockScreenOrientationClient> mock_screen_orientation_client_; |
|
Łukasz Anforowicz
2016/03/16 00:16:01
TestRunner's lifetime is longer than the lifetime
|
| + |
| base::WeakPtrFactory<TestRunner> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(TestRunner); |