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

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

Issue 2273273003: Update strings for ash palette and rename options/settings files. (Closed)
Patch Set: A few more string changes Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/webui/options/chromeos/options_stylus_handler.h"
6
7 #include "ash/common/system/chromeos/palette/palette_utils.h"
8 #include "chrome/grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h"
10
11 namespace chromeos {
12 namespace options {
13
14 OptionsStylusHandler::OptionsStylusHandler() {}
15
16 OptionsStylusHandler::~OptionsStylusHandler() {}
17
18 void OptionsStylusHandler::GetLocalizedValues(
19 base::DictionaryValue* localized_strings) {
20 DCHECK(localized_strings);
21
22 RegisterTitle(localized_strings, "stylusOverlay", IDS_SETTINGS_STYLUS_TITLE);
23
24 localized_strings->SetString(
25 "stylusSettingsButtonTitle",
26 l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_TITLE));
27 localized_strings->SetString(
28 "stylusAutoOpenStylusTools",
29 l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_AUTO_OPEN_STYLUS_TOOLS));
30 localized_strings->SetString(
31 "stylusFindMoreApps",
32 l10n_util::GetStringUTF16(IDS_SETTINGS_STYLUS_FIND_MORE_APPS));
33
34 localized_strings->SetBoolean("showStylusSettings", ash::IsPaletteEnabled());
35 }
36
37 void OptionsStylusHandler::InitializePage() {}
38
39 void OptionsStylusHandler::RegisterMessages() {}
40
41 } // namespace options
42 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/options_stylus_handler.h ('k') | chrome/browser/ui/webui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698