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

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

Issue 12207143: Fix the badly inverted flag to show caps lock settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6ceb0c3d015b2e179b4f85ff54cf3dafe479a491..f88e08991cc46ce7aef2280b069112f33907323d 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -96,7 +96,7 @@ void KeyboardHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
void KeyboardHandler::InitializePage() {
bool chromeos_keyboard = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kHasChromeOSKeyboard);
- const base::FundamentalValue show_caps_lock_options(chromeos_keyboard);
+ const base::FundamentalValue show_caps_lock_options(!chromeos_keyboard);
bool has_diamond_key = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kHasChromeOSDiamondKey);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698