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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 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
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 cbc56c10a10b689440ffc2151beae1780555d868..94a0a3049df2d5af0ed8f5d58d5393d87965760e 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -156,7 +156,7 @@ void KeyboardHandler::GetLocalizedValues(
void KeyboardHandler::InitializePage() {
bool has_diamond_key = base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kHasChromeOSDiamondKey);
- const base::FundamentalValue show_diamond_key_options(has_diamond_key);
+ const base::Value show_diamond_key_options(has_diamond_key);
web_ui()->CallJavascriptFunctionUnsafe(
"options.KeyboardOverlay.showDiamondKeyOptions",
@@ -182,7 +182,7 @@ void KeyboardHandler::HandleShowKeyboardShortcuts(const base::ListValue* args) {
}
void KeyboardHandler::UpdateCapsLockOptions() const {
- const base::FundamentalValue show_caps_lock_options(HasExternalKeyboard());
+ const base::Value show_caps_lock_options(HasExternalKeyboard());
web_ui()->CallJavascriptFunctionUnsafe(
"options.KeyboardOverlay.showCapsLockOptions", show_caps_lock_options);
}

Powered by Google App Engine
This is Rietveld 408576698