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

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

Issue 17571018: Reland fast tab closure behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, 2nd attempt to land. Created 7 years, 5 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
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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) 534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis)
535 }, 535 },
536 { 536 {
537 "extensions-on-chrome-urls", 537 "extensions-on-chrome-urls",
538 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_NAME, 538 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_NAME,
539 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_DESCRIPTION, 539 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_DESCRIPTION,
540 kOsAll, 540 kOsAll,
541 SINGLE_VALUE_TYPE(switches::kExtensionsOnChromeURLs) 541 SINGLE_VALUE_TYPE(switches::kExtensionsOnChromeURLs)
542 }, 542 },
543 { 543 {
544 "enable-fast-unload",
545 IDS_FLAGS_ENABLE_FAST_UNLOAD_NAME,
546 IDS_FLAGS_ENABLE_FAST_UNLOAD_DESCRIPTION,
547 kOsAll,
548 SINGLE_VALUE_TYPE(switches::kEnableFastUnload)
549 },
550 {
544 "enable-adview", 551 "enable-adview",
545 IDS_FLAGS_ENABLE_ADVIEW_NAME, 552 IDS_FLAGS_ENABLE_ADVIEW_NAME,
546 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION, 553 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION,
547 kOsDesktop, 554 kOsDesktop,
548 SINGLE_VALUE_TYPE(switches::kEnableAdview) 555 SINGLE_VALUE_TYPE(switches::kEnableAdview)
549 }, 556 },
550 { 557 {
551 "enable-adview-src-attribute", 558 "enable-adview-src-attribute",
552 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME, 559 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME,
553 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION, 560 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION,
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2078 } 2085 }
2079 2086
2080 const Experiment* GetExperiments(size_t* count) { 2087 const Experiment* GetExperiments(size_t* count) {
2081 *count = num_experiments; 2088 *count = num_experiments;
2082 return experiments; 2089 return experiments;
2083 } 2090 }
2084 2091
2085 } // namespace testing 2092 } // namespace testing
2086 2093
2087 } // namespace about_flags 2094 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698