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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 17571018: Reland fast tab closure behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff against original patch 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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 "enable-extension-activity-log-testing"; 545 "enable-extension-activity-log-testing";
546 546
547 // Enables or disables showing extensions in the action box. 547 // Enables or disables showing extensions in the action box.
548 const char kExtensionsInActionBox[] = "extensions-in-action-box"; 548 const char kExtensionsInActionBox[] = "extensions-in-action-box";
549 549
550 // Enables or disables running extensions on chrome:// URLs. 550 // Enables or disables running extensions on chrome:// URLs.
551 // Extensions still need to explicitly request access to chrome:// URLs in the 551 // Extensions still need to explicitly request access to chrome:// URLs in the
552 // manifest. 552 // manifest.
553 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; 553 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
554 554
555 // Enable the fast unload controller, which speeds up tab/window close by
556 // running a tab's onunload js handler independently of the GUI -
557 // crbug.com/142458 .
558 const char kEnableFastUnload[] = "enable-fast-unload";
559
555 // By default, cookies are not allowed on file://. They are needed for testing, 560 // By default, cookies are not allowed on file://. They are needed for testing,
556 // for example page cycler and layout tests. See bug 1157243. 561 // for example page cycler and layout tests. See bug 1157243.
557 const char kEnableFileCookies[] = "enable-file-cookies"; 562 const char kEnableFileCookies[] = "enable-file-cookies";
558 563
559 // Enables Google Now integration. 564 // Enables Google Now integration.
560 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; 565 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
561 566
562 // Enable Instant extended API. On mobile, this merely enables query extraction, 567 // Enable Instant extended API. On mobile, this merely enables query extraction,
563 // not the rest of the instant-extended functionality. 568 // not the rest of the instant-extended functionality.
564 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; 569 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api";
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1601 1606
1602 // ----------------------------------------------------------------------------- 1607 // -----------------------------------------------------------------------------
1603 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1608 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1604 // 1609 //
1605 // You were going to just dump your switches here, weren't you? Instead, please 1610 // You were going to just dump your switches here, weren't you? Instead, please
1606 // put them in alphabetical order above, or in order inside the appropriate 1611 // put them in alphabetical order above, or in order inside the appropriate
1607 // ifdef at the bottom. The order should match the header. 1612 // ifdef at the bottom. The order should match the header.
1608 // ----------------------------------------------------------------------------- 1613 // -----------------------------------------------------------------------------
1609 1614
1610 } // namespace switches 1615 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698