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

Unified Diff: components/test_runner/test_runner.h

Issue 1839853002: Moving remaining mocks from WebTestProxyBase into TestRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@splitting-web-view-test-client
Patch Set: Rebasing... Created 4 years, 8 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 | « components/test_runner/spell_check_client.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »
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 f82ce89f9e81b1f61a13e448d2c150bd43a7c55d..ca8761f8880a7f57ded5682c7e4fdd66b63e7155 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -42,9 +42,11 @@ class Arguments;
namespace test_runner {
class InvokeCallbackTask;
+class MockCredentialManagerClient;
class MockScreenOrientationClient;
class MockWebSpeechRecognizer;
class MockWebUserMediaClient;
+class SpellCheckClient;
class TestInterfaces;
class WebContentSettings;
class WebTestDelegate;
@@ -86,6 +88,7 @@ class TestRunner : public WebTestRunner,
bool HasCustomTextDump(std::string* custom_text_dump) const override;
bool ShouldDumpBackForwardList() const override;
blink::WebContentSettingsClient* GetWebContentSettings() const override;
+ void InitializeWebViewWithMocks(blink::WebView* web_view) override;
// Methods used by WebViewTestClient and WebFrameTestClient.
void OnAnimationScheduled(blink::WebView* view);
@@ -813,9 +816,11 @@ class TestRunner : public WebTestRunner,
} pointer_lock_planned_result_;
bool use_mock_theme_;
+ scoped_ptr<MockCredentialManagerClient> credential_manager_client_;
scoped_ptr<MockScreenOrientationClient> mock_screen_orientation_client_;
scoped_ptr<MockWebSpeechRecognizer> speech_recognizer_;
scoped_ptr<MockWebUserMediaClient> user_media_client_;
+ scoped_ptr<SpellCheckClient> spellcheck_;
// Number of currently active color choosers.
int chooser_count_;
« no previous file with comments | « components/test_runner/spell_check_client.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698