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

Side by Side Diff: components/test_runner/test_runner.h

Issue 2270293003: Add a switch to TestRunner to enable/disable mock spell checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use in-class initialization Created 4 years, 3 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 void DumpDragImage(); 456 void DumpDragImage();
457 457
458 // Sets a flag that tells the WebViewTestProxy to dump the default navigation 458 // Sets a flag that tells the WebViewTestProxy to dump the default navigation
459 // policy passed to the decidePolicyForNavigation callback. 459 // policy passed to the decidePolicyForNavigation callback.
460 void DumpNavigationPolicy(); 460 void DumpNavigationPolicy();
461 461
462 // Controls whether console messages produced by the page are dumped 462 // Controls whether console messages produced by the page are dumped
463 // to test output. 463 // to test output.
464 void SetDumpConsoleMessages(bool value); 464 void SetDumpConsoleMessages(bool value);
465 465
466 // Controls whether the mock spell checker is enabled.
467 void SetMockSpellCheckerEnabled(bool enabled);
468
466 /////////////////////////////////////////////////////////////////////////// 469 ///////////////////////////////////////////////////////////////////////////
467 // Methods interacting with the WebViewTestProxy 470 // Methods interacting with the WebViewTestProxy
468 471
469 /////////////////////////////////////////////////////////////////////////// 472 ///////////////////////////////////////////////////////////////////////////
470 // Methods forwarding to the WebTestDelegate 473 // Methods forwarding to the WebTestDelegate
471 474
472 // Shows DevTools window. 475 // Shows DevTools window.
473 void ShowWebInspector(const std::string& str, 476 void ShowWebInspector(const std::string& str,
474 const std::string& frontend_url); 477 const std::string& frontend_url);
475 void CloseWebInspector(); 478 void CloseWebInspector();
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 bool is_web_platform_tests_mode_; 642 bool is_web_platform_tests_mode_;
640 643
641 base::WeakPtrFactory<TestRunner> weak_factory_; 644 base::WeakPtrFactory<TestRunner> weak_factory_;
642 645
643 DISALLOW_COPY_AND_ASSIGN(TestRunner); 646 DISALLOW_COPY_AND_ASSIGN(TestRunner);
644 }; 647 };
645 648
646 } // namespace test_runner 649 } // namespace test_runner
647 650
648 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 651 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« 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