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

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

Issue 498403002: Add an about:flag for enabling a reader mode toolbar icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('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/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 545
546 // Enable use of Chromium's port selection for the ephemeral port via bind(). 546 // Enable use of Chromium's port selection for the ephemeral port via bind().
547 // This only has an effect if QUIC protocol is enabled. 547 // This only has an effect if QUIC protocol is enabled.
548 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; 548 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
549 549
550 // Enables use of time-base loss detection for QUIC connections. 550 // Enables use of time-base loss detection for QUIC connections.
551 // This only has an effect if QUIC protocol is enabled. 551 // This only has an effect if QUIC protocol is enabled.
552 const char kEnableQuicTimeBasedLossDetection[] = 552 const char kEnableQuicTimeBasedLossDetection[] =
553 "enable-quic-time-based-loss-detection"; 553 "enable-quic-time-based-loss-detection";
554 554
555 // Enables context-sensitive reader mode button in the toolbar.
556 const char kEnableReaderModeToolbarIcon[] =
557 "enable-reader-mode-toolbar-icon";
558
555 // Enables save password prompt bubble. 559 // Enables save password prompt bubble.
556 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; 560 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
557 561
558 // Enables SDCH for https schemes. 562 // Enables SDCH for https schemes.
559 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; 563 const char kEnableSdchOverHttps[] = "enable-sdch-over-https";
560 564
561 // Controls which branch of the "search button in omnibox" experiment is 565 // Controls which branch of the "search button in omnibox" experiment is
562 // enabled. 566 // enabled.
563 // 567 //
564 // We're using independent flags here (as opposed to a common flag with 568 // We're using independent flags here (as opposed to a common flag with
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1367
1364 // ----------------------------------------------------------------------------- 1368 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1370 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1371 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1372 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1373 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1374 // -----------------------------------------------------------------------------
1371 1375
1372 } // namespace switches 1376 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698