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

Unified Diff: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc

Issue 14820030: Move Chrome OS switches to chromeos/chromeos_switches.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 7 years, 7 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/chromeos/keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
index 24b8e017769dc779681955893cec595f1793de44..405aeca9a01a9ad8903092af26b73014ec749e5e 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -6,7 +6,7 @@
#include "base/command_line.h"
#include "base/values.h"
-#include "chrome/common/chrome_switches.h"
+#include "chromeos/chromeos_switches.h"
#include "chromeos/ime/xkeyboard.h"
#include "content/public/browser/web_ui.h"
#include "grit/generated_resources.h"
@@ -95,11 +95,11 @@ void KeyboardHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
void KeyboardHandler::InitializePage() {
bool chromeos_keyboard = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kHasChromeOSKeyboard);
+ chromeos::switches::kHasChromeOSKeyboard);
const base::FundamentalValue show_caps_lock_options(!chromeos_keyboard);
bool has_diamond_key = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kHasChromeOSDiamondKey);
+ chromeos::switches::kHasChromeOSDiamondKey);
const base::FundamentalValue show_diamond_key_options(has_diamond_key);
web_ui()->CallJavascriptFunction(
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698