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

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

Issue 250583004: Remove the confusing certificate revocation checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set rev_checking_enabled = false unless set by enterprise policy. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "apps/app_window.h" 10 #include "apps/app_window.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 { "sectionTitleSearch", IDS_OPTIONS_DEFAULTSEARCH_GROUP_NAME }, 295 { "sectionTitleSearch", IDS_OPTIONS_DEFAULTSEARCH_GROUP_NAME },
296 { "sectionTitleStartup", IDS_OPTIONS_STARTUP_GROUP_NAME }, 296 { "sectionTitleStartup", IDS_OPTIONS_STARTUP_GROUP_NAME },
297 { "sectionTitleSync", IDS_SYNC_OPTIONS_GROUP_NAME }, 297 { "sectionTitleSync", IDS_SYNC_OPTIONS_GROUP_NAME },
298 { "spellingConfirmMessage", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT }, 298 { "spellingConfirmMessage", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT },
299 { "spellingConfirmEnable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE }, 299 { "spellingConfirmEnable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE },
300 { "spellingConfirmDisable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE }, 300 { "spellingConfirmDisable", IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE },
301 { "spellingPref", IDS_OPTIONS_SPELLING_PREF }, 301 { "spellingPref", IDS_OPTIONS_SPELLING_PREF },
302 { "startupRestoreLastSession", IDS_OPTIONS_STARTUP_RESTORE_LAST_SESSION }, 302 { "startupRestoreLastSession", IDS_OPTIONS_STARTUP_RESTORE_LAST_SESSION },
303 { "settingsTitle", IDS_SETTINGS_TITLE }, 303 { "settingsTitle", IDS_SETTINGS_TITLE },
304 { "showAdvancedSettings", IDS_SETTINGS_SHOW_ADVANCED_SETTINGS }, 304 { "showAdvancedSettings", IDS_SETTINGS_SHOW_ADVANCED_SETTINGS },
305 { "sslCheckRevocation", IDS_OPTIONS_SSL_CHECKREVOCATION },
306 { "startupSetPages", IDS_OPTIONS_STARTUP_SET_PAGES }, 305 { "startupSetPages", IDS_OPTIONS_STARTUP_SET_PAGES },
307 { "startupShowNewTab", IDS_OPTIONS_STARTUP_SHOW_NEWTAB }, 306 { "startupShowNewTab", IDS_OPTIONS_STARTUP_SHOW_NEWTAB },
308 { "startupShowPages", IDS_OPTIONS_STARTUP_SHOW_PAGES }, 307 { "startupShowPages", IDS_OPTIONS_STARTUP_SHOW_PAGES },
309 { "suggestPref", IDS_OPTIONS_SUGGEST_PREF }, 308 { "suggestPref", IDS_OPTIONS_SUGGEST_PREF },
310 { "syncButtonTextInProgress", IDS_SYNC_NTP_SETUP_IN_PROGRESS }, 309 { "syncButtonTextInProgress", IDS_SYNC_NTP_SETUP_IN_PROGRESS },
311 { "syncButtonTextStop", IDS_SYNC_STOP_SYNCING_BUTTON_LABEL }, 310 { "syncButtonTextStop", IDS_SYNC_STOP_SYNCING_BUTTON_LABEL },
312 { "themesGallery", IDS_THEMES_GALLERY_BUTTON }, 311 { "themesGallery", IDS_THEMES_GALLERY_BUTTON },
313 { "themesGalleryURL", IDS_THEMES_GALLERY_URL }, 312 { "themesGalleryURL", IDS_THEMES_GALLERY_URL },
314 { "tabsToLinksPref", IDS_OPTIONS_TABS_TO_LINKS_PREF }, 313 { "tabsToLinksPref", IDS_OPTIONS_TABS_TO_LINKS_PREF },
315 { "toolbarShowBookmarksBar", IDS_OPTIONS_TOOLBAR_SHOW_BOOKMARKS_BAR }, 314 { "toolbarShowBookmarksBar", IDS_OPTIONS_TOOLBAR_SHOW_BOOKMARKS_BAR },
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 extension_name = base::StringValue( 1746 extension_name = base::StringValue(
1748 extension ? extension->name() : std::string()); 1747 extension ? extension->name() : std::string());
1749 web_ui()->CallJavascriptFunction( 1748 web_ui()->CallJavascriptFunction(
1750 "BrowserOptions.toggleStartupPagesControlled", 1749 "BrowserOptions.toggleStartupPagesControlled",
1751 extension_id, 1750 extension_id,
1752 extension_name); 1751 extension_name);
1753 } 1752 }
1754 #endif // defined(OS_WIN) 1753 #endif // defined(OS_WIN)
1755 1754
1756 } // namespace options 1755 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698