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

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

Issue 603023004: Remove unused User/Users strings from the profiles UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@people-everywhere
Patch Set: rebase onto master Created 6 years, 2 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/options/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 { "networkPredictionEnabledDescription", 286 { "networkPredictionEnabledDescription",
287 IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION }, 287 IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION },
288 { "passwordsAndAutofillGroupName", 288 { "passwordsAndAutofillGroupName",
289 IDS_OPTIONS_PASSWORDS_AND_FORMS_GROUP_NAME }, 289 IDS_OPTIONS_PASSWORDS_AND_FORMS_GROUP_NAME },
290 { "passwordManagerEnabled", IDS_OPTIONS_PASSWORD_MANAGER_ENABLE }, 290 { "passwordManagerEnabled", IDS_OPTIONS_PASSWORD_MANAGER_ENABLE },
291 { "privacyClearDataButton", IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON }, 291 { "privacyClearDataButton", IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON },
292 { "privacyContentSettingsButton", 292 { "privacyContentSettingsButton",
293 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON }, 293 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON },
294 { "profileAddPersonEnable", IDS_PROFILE_ADD_PERSON_ENABLE }, 294 { "profileAddPersonEnable", IDS_PROFILE_ADD_PERSON_ENABLE },
295 { "profileBrowserGuestEnable", IDS_PROFILE_BROWSER_GUEST_ENABLE }, 295 { "profileBrowserGuestEnable", IDS_PROFILE_BROWSER_GUEST_ENABLE },
296 { "profilesCreate", IDS_NEW_PROFILES_CREATE_BUTTON_LABEL }, 296 { "profilesCreate", IDS_PROFILES_CREATE_BUTTON_LABEL },
297 { "profilesDelete", IDS_NEW_PROFILES_DELETE_BUTTON_LABEL }, 297 { "profilesDelete", IDS_PROFILES_DELETE_BUTTON_LABEL },
298 { "profilesDeleteSingle", IDS_NEW_PROFILES_DELETE_SINGLE_BUTTON_LABEL }, 298 { "profilesDeleteSingle", IDS_PROFILES_DELETE_SINGLE_BUTTON_LABEL },
299 { "profilesListItemCurrent", IDS_PROFILES_LIST_ITEM_CURRENT }, 299 { "profilesListItemCurrent", IDS_PROFILES_LIST_ITEM_CURRENT },
300 { "profilesManage", IDS_PROFILES_MANAGE_BUTTON_LABEL }, 300 { "profilesManage", IDS_PROFILES_MANAGE_BUTTON_LABEL },
301 { "profilesSupervisedDashboardTip", 301 { "profilesSupervisedDashboardTip",
302 IDS_PROFILES_SUPERVISED_USER_DASHBOARD_TIP }, 302 IDS_PROFILES_SUPERVISED_USER_DASHBOARD_TIP },
303 #if defined(ENABLE_SETTINGS_APP) 303 #if defined(ENABLE_SETTINGS_APP)
304 { "profilesAppListSwitch", IDS_SETTINGS_APP_PROFILES_SWITCH_BUTTON_LABEL }, 304 { "profilesAppListSwitch", IDS_SETTINGS_APP_PROFILES_SWITCH_BUTTON_LABEL },
305 #endif 305 #endif
306 { "proxiesLabelExtension", IDS_OPTIONS_EXTENSION_PROXIES_LABEL }, 306 { "proxiesLabelExtension", IDS_OPTIONS_EXTENSION_PROXIES_LABEL },
307 { "proxiesLabelSystem", IDS_OPTIONS_SYSTEM_PROXIES_LABEL, 307 { "proxiesLabelSystem", IDS_OPTIONS_SYSTEM_PROXIES_LABEL,
308 IDS_PRODUCT_NAME }, 308 IDS_PRODUCT_NAME },
309 { "resetProfileSettings", IDS_RESET_PROFILE_SETTINGS_BUTTON }, 309 { "resetProfileSettings", IDS_RESET_PROFILE_SETTINGS_BUTTON },
310 { "resetProfileSettingsDescription", 310 { "resetProfileSettingsDescription",
311 IDS_RESET_PROFILE_SETTINGS_DESCRIPTION }, 311 IDS_RESET_PROFILE_SETTINGS_DESCRIPTION },
312 { "resetProfileSettingsSectionTitle", 312 { "resetProfileSettingsSectionTitle",
313 IDS_RESET_PROFILE_SETTINGS_SECTION_TITLE }, 313 IDS_RESET_PROFILE_SETTINGS_SECTION_TITLE },
314 { "safeBrowsingEnableProtection", 314 { "safeBrowsingEnableProtection",
315 IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION }, 315 IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION },
316 { "safeBrowsingEnableExtendedReporting", 316 { "safeBrowsingEnableExtendedReporting",
317 IDS_OPTIONS_SAFEBROWSING_ENABLE_EXTENDED_REPORTING }, 317 IDS_OPTIONS_SAFEBROWSING_ENABLE_EXTENDED_REPORTING },
318 { "sectionTitleAppearance", IDS_APPEARANCE_GROUP_NAME }, 318 { "sectionTitleAppearance", IDS_APPEARANCE_GROUP_NAME },
319 { "sectionTitleDefaultBrowser", IDS_OPTIONS_DEFAULTBROWSER_GROUP_NAME }, 319 { "sectionTitleDefaultBrowser", IDS_OPTIONS_DEFAULTBROWSER_GROUP_NAME },
320 { "sectionTitleUsers", IDS_NEW_PROFILES_OPTIONS_GROUP_NAME }, 320 { "sectionTitleUsers", IDS_PROFILES_OPTIONS_GROUP_NAME },
321 { "sectionTitleProxy", IDS_OPTIONS_PROXY_GROUP_NAME }, 321 { "sectionTitleProxy", IDS_OPTIONS_PROXY_GROUP_NAME },
322 { "sectionTitleSearch", IDS_OPTIONS_DEFAULTSEARCH_GROUP_NAME }, 322 { "sectionTitleSearch", IDS_OPTIONS_DEFAULTSEARCH_GROUP_NAME },
323 { "sectionTitleStartup", IDS_OPTIONS_STARTUP_GROUP_NAME }, 323 { "sectionTitleStartup", IDS_OPTIONS_STARTUP_GROUP_NAME },
324 { "sectionTitleSync", IDS_SYNC_OPTIONS_GROUP_NAME }, 324 { "sectionTitleSync", IDS_SYNC_OPTIONS_GROUP_NAME },
325 { "sectionTitleVoice", IDS_OPTIONS_VOICE_GROUP_NAME }, 325 { "sectionTitleVoice", IDS_OPTIONS_VOICE_GROUP_NAME },
326 { "settingsTitle", IDS_SETTINGS_TITLE }, 326 { "settingsTitle", IDS_SETTINGS_TITLE },
327 { "showAdvancedSettings", IDS_SETTINGS_SHOW_ADVANCED_SETTINGS }, 327 { "showAdvancedSettings", IDS_SETTINGS_SHOW_ADVANCED_SETTINGS },
328 { "spellingConfirmMessage", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT }, 328 { "spellingConfirmMessage", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT },
329 { "spellingConfirmEnable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE }, 329 { "spellingConfirmEnable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE },
330 { "spellingConfirmDisable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE }, 330 { "spellingConfirmDisable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE },
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 1966
1967 void BrowserOptionsHandler::SetMetricsReportingCheckbox(bool checked, 1967 void BrowserOptionsHandler::SetMetricsReportingCheckbox(bool checked,
1968 bool disabled) { 1968 bool disabled) {
1969 web_ui()->CallJavascriptFunction( 1969 web_ui()->CallJavascriptFunction(
1970 "BrowserOptions.setMetricsReportingCheckboxState", 1970 "BrowserOptions.setMetricsReportingCheckboxState",
1971 base::FundamentalValue(checked), 1971 base::FundamentalValue(checked),
1972 base::FundamentalValue(disabled)); 1972 base::FundamentalValue(disabled));
1973 } 1973 }
1974 1974
1975 } // namespace options 1975 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698