OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTEST_
H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTEST_
H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/test/base/web_ui_browser_test.h" |
| 10 |
| 11 // This is a helper class used by multilanguage_options_webui_browsertest.js |
| 12 // to flip the enable-multilingual-spellchecker command line switch and set |
| 13 // the AcceptLanguages and SpellcheckDictionaries preferences. |
| 14 class MultilanguageOptionsWebUIBrowserTest : public WebUIBrowserTest { |
| 15 public: |
| 16 MultilanguageOptionsWebUIBrowserTest(); |
| 17 ~MultilanguageOptionsWebUIBrowserTest() override; |
| 18 void SetBlankDictionariesPref(); |
| 19 |
| 20 private: |
| 21 void SetUpCommandLine(base::CommandLine* command_line) override; |
| 22 void SetUpOnMainThread() override; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(MultilanguageOptionsWebUIBrowserTest); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTE
ST_H_ |
OLD | NEW |