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

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

Issue 10175005: Add command line flag to force all extensions to have a browser action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 SINGLE_VALUE_TYPE(switches::kNaClGdb) 262 SINGLE_VALUE_TYPE(switches::kNaClGdb)
263 }, 263 },
264 { 264 {
265 "extension-apis", // FLAGS:RECORD_UMA 265 "extension-apis", // FLAGS:RECORD_UMA
266 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, 266 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME,
267 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, 267 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION,
268 kOsAll, 268 kOsAll,
269 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) 269 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis)
270 }, 270 },
271 { 271 {
272 "browser-actions-for-all",
273 IDS_FLAGS_BROWSER_ACTIONS_FOR_ALL_NAME,
274 IDS_FLAGS_BROWSER_ACTIONS_FOR_ALL_DESCRIPTION,
275 kOsAll,
276 SINGLE_VALUE_TYPE(switches::kEnableBrowserActionsForAll),
277 },
278 {
272 "apps-new-install-bubble", 279 "apps-new-install-bubble",
273 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME, 280 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME,
274 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION, 281 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION,
275 kOsAll, 282 kOsAll,
276 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble) 283 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble)
277 }, 284 },
278 { 285 {
279 "disable-hyperlink-auditing", 286 "disable-hyperlink-auditing",
280 IDS_FLAGS_DISABLE_HYPERLINK_AUDITING_NAME, 287 IDS_FLAGS_DISABLE_HYPERLINK_AUDITING_NAME,
281 IDS_FLAGS_DISABLE_HYPERLINK_AUDITING_DESCRIPTION, 288 IDS_FLAGS_DISABLE_HYPERLINK_AUDITING_DESCRIPTION,
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 } 1071 }
1065 1072
1066 const Experiment* GetExperiments(size_t* count) { 1073 const Experiment* GetExperiments(size_t* count) {
1067 *count = num_experiments; 1074 *count = num_experiments;
1068 return experiments; 1075 return experiments;
1069 } 1076 }
1070 1077
1071 } // namespace testing 1078 } // namespace testing
1072 1079
1073 } // namespace about_flags 1080 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698