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

Unified Diff: components/test_runner/test_runner.h

Issue 2587823003: Allow test runner to run a callback when finishing a spellcheck request (Closed)
Patch Set: Created 4 years 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
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 827d4d259799ae8838831cb9753876780706d819..f720dc6848e15b150ad85e3bb56c897dcceef327 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -86,6 +86,8 @@ class TestRunner : public WebTestRunner {
bool UseMockTheme() const { return use_mock_theme_; }
+ blink::WebView* main_view() const { return main_view_; }
haraken 2016/12/20 02:46:21 Can you expose mainFrame() instead of main_view()?
Xiaocheng 2016/12/20 03:05:59 Will do.
Xiaocheng 2016/12/20 04:49:09 Done.
+
// WebTestRunner implementation.
bool ShouldGeneratePixelResults() override;
bool ShouldDumpAsAudio() const override;

Powered by Google App Engine
This is Rietveld 408576698