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

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

Issue 10827268: Added flag --extensions-in-action-box to split Action Box and Extensions in it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed IsActionBoxEnabled() 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/extensions/extension_prefs.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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) 360 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis)
361 }, 361 },
362 { 362 {
363 "action-box", 363 "action-box",
364 IDS_FLAGS_ACTION_BOX_NAME, 364 IDS_FLAGS_ACTION_BOX_NAME,
365 IDS_FLAGS_ACTION_BOX_DESCRIPTION, 365 IDS_FLAGS_ACTION_BOX_DESCRIPTION,
366 kOsAll, 366 kOsAll,
367 SINGLE_VALUE_TYPE(switches::kEnableActionBox), 367 SINGLE_VALUE_TYPE(switches::kEnableActionBox),
368 }, 368 },
369 { 369 {
370 "extensions-in-action-box",
371 IDS_FLAGS_EXTENSIONS_IN_ACTION_BOX_NAME,
372 IDS_FLAGS_EXTENSIONS_IN_ACTION_BOX_DESCRIPTION,
373 kOsAll,
374 SINGLE_VALUE_TYPE(switches::kEnableExtensionsInActionBox),
375 },
376 {
370 "script-badges", 377 "script-badges",
371 IDS_FLAGS_SCRIPT_BADGES_NAME, 378 IDS_FLAGS_SCRIPT_BADGES_NAME,
372 IDS_FLAGS_SCRIPT_BADGES_DESCRIPTION, 379 IDS_FLAGS_SCRIPT_BADGES_DESCRIPTION,
373 kOsAll, 380 kOsAll,
374 SINGLE_VALUE_TYPE(switches::kEnableScriptBadges), 381 SINGLE_VALUE_TYPE(switches::kEnableScriptBadges),
375 }, 382 },
376 { 383 {
377 "apps-new-install-bubble", 384 "apps-new-install-bubble",
378 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME, 385 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME,
379 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION, 386 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION,
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 } 1341 }
1335 1342
1336 const Experiment* GetExperiments(size_t* count) { 1343 const Experiment* GetExperiments(size_t* count) {
1337 *count = num_experiments; 1344 *count = num_experiments;
1338 return experiments; 1345 return experiments;
1339 } 1346 }
1340 1347
1341 } // namespace testing 1348 } // namespace testing
1342 1349
1343 } // namespace about_flags 1350 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698