Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL:
Patch Set: Replied to old comments and fixed small issues. 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 side-by-side diff with in-line comments
Download patch
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..229c722760e3f02235d2c6b1a3a470cd5d209b7a
--- /dev/null
+++ b/chrome/browser/ui/webui/options/multilanguage_options_webui_browsertest.h
@@ -0,0 +1,27 @@
+// 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.
+#include "base/macros.h"
+#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;
+ void SetBlankDictionariesPref();
+ private:
+ void SetUpCommandLine(base::CommandLine* command_line) override;
+ void SetUpOnMainThread() override;
+ DISALLOW_COPY_AND_ASSIGN(MultilanguageOptionsWebUIBrowserTest);

Powered by Google App Engine
This is Rietveld 408576698