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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 10873020: Enable the Website Settings UI by default on trunk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/browser_commands.cc » ('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 (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/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 #if defined(USE_ASH) 908 #if defined(USE_ASH)
909 { 909 {
910 "ash-debug-shortcuts", 910 "ash-debug-shortcuts",
911 IDS_FLAGS_DEBUG_SHORTCUTS_NAME, 911 IDS_FLAGS_DEBUG_SHORTCUTS_NAME,
912 IDS_FLAGS_DEBUG_SHORTCUTS_DESCRIPTION, 912 IDS_FLAGS_DEBUG_SHORTCUTS_DESCRIPTION,
913 kOsAll, 913 kOsAll,
914 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts), 914 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
915 }, 915 },
916 #endif 916 #endif
917 { 917 {
918 "enable-website-settings", // FLAGS:RECORD_UMA 918 "disable-website-settings", // FLAGS:RECORD_UMA
919 IDS_FLAGS_ENABLE_WEBSITE_SETTINGS_NAME, 919 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_NAME,
920 IDS_FLAGS_ENABLE_WEBSITE_SETTINGS_DESCRIPTION, 920 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_DESCRIPTION,
921 kOsAll, 921 kOsAll,
922 SINGLE_VALUE_TYPE(switches::kEnableWebsiteSettings), 922 SINGLE_VALUE_TYPE(switches::kDisableWebsiteSettings),
923 }, 923 },
924 }; 924 };
925 925
926 const Experiment* experiments = kExperiments; 926 const Experiment* experiments = kExperiments;
927 size_t num_experiments = arraysize(kExperiments); 927 size_t num_experiments = arraysize(kExperiments);
928 928
929 // Stores and encapsulates the little state that about:flags has. 929 // Stores and encapsulates the little state that about:flags has.
930 class FlagsState { 930 class FlagsState {
931 public: 931 public:
932 FlagsState() : needs_restart_(false) {} 932 FlagsState() : needs_restart_(false) {}
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 } 1350 }
1351 1351
1352 const Experiment* GetExperiments(size_t* count) { 1352 const Experiment* GetExperiments(size_t* count) {
1353 *count = num_experiments; 1353 *count = num_experiments;
1354 return experiments; 1354 return experiments;
1355 } 1355 }
1356 1356
1357 } // namespace testing 1357 } // namespace testing
1358 1358
1359 } // namespace about_flags 1359 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698