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

Side by Side Diff: chrome/browser/ui/webui/policy_indicator_localized_strings_provider.cc

Issue 2911303003: chromeos: Remove SystemTrayDelegate::GetIMEManagedMessage() (Closed)
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | components/policy_strings.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" 5 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/grit/generated_resources.h" 8 #include "chrome/grit/generated_resources.h"
9 #include "components/strings/grit/components_strings.h"
9 #include "content/public/browser/web_ui_data_source.h" 10 #include "content/public/browser/web_ui_data_source.h"
10 11
11 namespace policy_indicator { 12 namespace policy_indicator {
12 13
13 void AddLocalizedStrings(content::WebUIDataSource* html_source) { 14 void AddLocalizedStrings(content::WebUIDataSource* html_source) {
14 html_source->AddLocalizedString("controlledSettingPolicy", 15 html_source->AddLocalizedString("controlledSettingPolicy",
15 IDS_OPTIONS_CONTROLLED_SETTING_POLICY); 16 IDS_OPTIONS_CONTROLLED_SETTING_POLICY);
16 html_source->AddLocalizedString("controlledSettingRecommendedMatches", 17 html_source->AddLocalizedString("controlledSettingRecommendedMatches",
17 IDS_OPTIONS_CONTROLLED_SETTING_RECOMMENDED); 18 IDS_OPTIONS_CONTROLLED_SETTING_RECOMMENDED);
18 html_source->AddLocalizedString( 19 html_source->AddLocalizedString(
19 "controlledSettingRecommendedDiffers", 20 "controlledSettingRecommendedDiffers",
20 IDS_OPTIONS_CONTROLLED_SETTING_HAS_RECOMMENDATION); 21 IDS_OPTIONS_CONTROLLED_SETTING_HAS_RECOMMENDATION);
21 html_source->AddLocalizedString("controlledSettingExtension", 22 html_source->AddLocalizedString("controlledSettingExtension",
22 IDS_OPTIONS_CONTROLLED_SETTING_EXTENSION); 23 IDS_OPTIONS_CONTROLLED_SETTING_EXTENSION);
23 #if defined(OS_CHROMEOS) 24 #if defined(OS_CHROMEOS)
24 html_source->AddLocalizedString("controlledSettingShared", 25 html_source->AddLocalizedString("controlledSettingShared",
25 IDS_OPTIONS_CONTROLLED_SETTING_SHARED); 26 IDS_OPTIONS_CONTROLLED_SETTING_SHARED);
26 html_source->AddLocalizedString("controlledSettingOwner", 27 html_source->AddLocalizedString("controlledSettingOwner",
27 IDS_OPTIONS_CONTROLLED_SETTING_OWNER); 28 IDS_OPTIONS_CONTROLLED_SETTING_OWNER);
28 #endif 29 #endif
29 } 30 }
30 31
31 } // namespace policy_indicator 32 } // namespace policy_indicator
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | components/policy_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698