Chromium Code Reviews| Index: chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h |
| diff --git a/chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h b/chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ce16a8b5ba65a34bd3a051440fb8de2e6464fcf2 |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTEST_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTEST_H_ |
| + |
|
Dan Beam
2015/06/17 23:42:01
nit:
#include "base/macros.h"
for DISALLOW_COPY_
Julius
2015/06/24 21:17:58
Done.
|
| +#include "chrome/test/base/web_ui_browser_test.h" |
| + |
| +// This is a helper class used by multilanguage_options_webui_browsertest.js |
| +// to flip the enable-multilingual-spellchecker command line switch and set |
| +// the AcceptLanguages and SpellcheckDictionaries preferences. |
| +class MultilanguageOptionsWebUIBrowserTest : public WebUIBrowserTest { |
| + public: |
| + MultilanguageOptionsWebUIBrowserTest(); |
| + ~MultilanguageOptionsWebUIBrowserTest() override; |
| + |
| + private: |
| + void SetUpCommandLine(base::CommandLine* command_line) override; |
| + void SetUpOnMainThread() override; |
|
Dan Beam
2015/06/17 23:42:01
nit: \n
Julius
2015/06/24 21:17:58
Done.
|
| + DISALLOW_COPY_AND_ASSIGN(MultilanguageOptionsWebUIBrowserTest); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_WEBUI_BROWSERTEST_H_ |