Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: components/test_runner/test_runner.h

Issue 1807733002: Make MockScreenOrientationClient an internal detail of components/test_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-app-banner-dep
Patch Set: Rebasing... Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698