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

Unified Diff: components/test_runner/spell_check_client.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 | « no previous file | components/test_runner/spell_check_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/spell_check_client.h
diff --git a/components/test_runner/spell_check_client.h b/components/test_runner/spell_check_client.h
index 40af2d26df8f103635f067e6724b5b3f2f77ab90..b770a1af4734c88fd1ee41b7dddf2d7b86ccc856 100644
--- a/components/test_runner/spell_check_client.h
+++ b/components/test_runner/spell_check_client.h
@@ -10,16 +10,23 @@
#include "base/macros.h"
#include "components/test_runner/mock_spell_check.h"
#include "components/test_runner/web_task.h"
+#include "third_party/WebKit/public/platform/WebString.h"
+#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebSpellCheckClient.h"
+namespace blink {
+class WebTextCheckingCompletion;
+struct WebTextCheckingResult;
+} // namespace blink
+
namespace test_runner {
+class TestRunner;
class WebTestDelegate;
-class WebTestProxyBase;
class SpellCheckClient : public blink::WebSpellCheckClient {
public:
- explicit SpellCheckClient(WebTestProxyBase* web_test_proxy);
+ explicit SpellCheckClient(TestRunner* test_runner);
virtual ~SpellCheckClient();
void SetDelegate(WebTestDelegate* delegate);
@@ -54,10 +61,9 @@ class SpellCheckClient : public blink::WebSpellCheckClient {
WebTaskList task_list_;
+ TestRunner* test_runner_;
WebTestDelegate* delegate_;
- WebTestProxyBase* web_test_proxy_;
-
DISALLOW_COPY_AND_ASSIGN(SpellCheckClient);
};
« no previous file with comments | « no previous file | components/test_runner/spell_check_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698