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

Side by Side Diff: chrome/browser/ui/webui/options/multilanguage_options_browsertest.h

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the browsertests and cleaned some things up. Created 5 years, 5 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
OLDNEW
(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_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_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 MultilanguageOptionsBrowserTest : public WebUIBrowserTest {
15 public:
16 MultilanguageOptionsBrowserTest();
17 ~MultilanguageOptionsBrowserTest() override;
Dan Beam 2015/07/09 17:56:48 arguably put a doc comment for |SetBlankDictionary
Julius 2015/07/09 18:49:11 I think a small comment saying that it sets the pr
18 void SetBlankDictionariesPref();
Dan Beam 2015/07/09 17:56:48 nit: ClearSpellcheckDictionaries()
Julius 2015/07/09 18:49:11 Done.
19
20 private:
21 void SetUpCommandLine(base::CommandLine* command_line) override;
22 void SetUpOnMainThread() override;
23
24 DISALLOW_COPY_AND_ASSIGN(MultilanguageOptionsBrowserTest);
25 };
26
27 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698