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

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

Issue 2258553004: Add pref to enable/disable palette tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebase Created 4 years, 4 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/options_stylus_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/options_stylus_handler.cc b/chrome/browser/ui/webui/options/chromeos/options_stylus_handler.cc
index 34aa43d80ad6e4ff10594616a60cea71288567fe..73803ea81f7d4408e83b4e086edda0d613ee1e2e 100644
--- a/chrome/browser/ui/webui/options/chromeos/options_stylus_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/options_stylus_handler.cc
@@ -28,10 +28,14 @@ void OptionsStylusHandler::GetLocalizedValues(
"stylusAutoOpenStylusTools",
l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_AUTO_OPEN_STYLUS_TOOLS));
localized_strings->SetString(
+ "stylusEnableStylusTools",
+ l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_ENABLE_STYLUS_TOOLS));
+ localized_strings->SetString(
"stylusFindMoreApps",
l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_FIND_MORE_APPS));
- localized_strings->SetBoolean("showStylusSettings", ash::IsPaletteEnabled());
+ localized_strings->SetBoolean("showStylusSettings",
+ ash::IsPaletteFeatureEnabled());
}
void OptionsStylusHandler::InitializePage() {}

Powered by Google App Engine
This is Rietveld 408576698