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

Unified Diff: chrome/browser/ui/webui/options/options_browsertest.cc

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: Fixed some bugs and handled the spelling service. Created 5 years, 6 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/options_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/options_browsertest.cc b/chrome/browser/ui/webui/options/options_browsertest.cc
index e136d92ad7b1f2c3196918d275fd2496f4b0ea80..9544cedc682dde2a28fc5d620f9ad45cc399df21 100644
--- a/chrome/browser/ui/webui/options/options_browsertest.cc
+++ b/chrome/browser/ui/webui/options/options_browsertest.cc
@@ -5,11 +5,13 @@
#include "chrome/browser/ui/webui/options/options_browsertest.h"
#include "base/bind.h"
+#include "base/command_line.h"
#include "base/prefs/pref_service.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
+#include "chrome/common/chrome_switches.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
@@ -68,3 +70,9 @@ void OptionsBrowserTest::HandleSetPref(const base::ListValue* args) {
content::WebUIMessageHandler* OptionsBrowserTest::GetMockMessageHandler() {
return this;
}
+
+void OptionsBrowserTest::SetUpCommandLine(
please use gerrit instead 2015/06/23 00:43:06 Not a good idea to append --enable-multilingual-sp
Julius 2015/06/24 21:17:59 I just created a MultilanguageOptionsBrowserTest t
+ base::CommandLine* command_line) {
+ WebUIBrowserTest::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(switches::kEnableMultilingualSpellChecker);
+}

Powered by Google App Engine
This is Rietveld 408576698