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

Side by Side Diff: ios/chrome/browser/chrome_switches.cc

Issue 1141263006: [iOS] Upstream switch and command for reader mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/ui/commands/ios_command_ids.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/chrome_switches.h" 5 #include "ios/chrome/browser/chrome_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // ----------------------------------------------------------------------------- 9 // -----------------------------------------------------------------------------
10 // When commenting your switch, please use the same voice as surrounding 10 // When commenting your switch, please use the same voice as surrounding
11 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll 11 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll
12 // all work out. 12 // all work out.
13 // ----------------------------------------------------------------------------- 13 // -----------------------------------------------------------------------------
14 14
15 // Disables the use of WKWebView instead of UIWebView. 15 // Disables the use of WKWebView instead of UIWebView.
16 const char kDisableIOSWKWebView[] = "disable-wkwebview"; 16 const char kDisableIOSWKWebView[] = "disable-wkwebview";
17 17
18 // Enables Open from Clipboard. 18 // Enables Open from Clipboard.
19 const char kEnableIOSOpenFromClipboard[] = "enable-ios-open-from-clipboard"; 19 const char kEnableIOSOpenFromClipboard[] = "enable-ios-open-from-clipboard";
20 20
21 // Enables the use of WKWebView instead of UIWebView. 21 // Enables the use of WKWebView instead of UIWebView.
22 const char kEnableIOSWKWebView[] = "enable-wkwebview"; 22 const char kEnableIOSWKWebView[] = "enable-wkwebview";
23 23
24 // Enables context-sensitive reader mode button in the toolbar.
25 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon";
26
24 // Defines the value in MB of the memory wedge to insert at cold launch. 27 // Defines the value in MB of the memory wedge to insert at cold launch.
25 const char kIOSMemoryWedgeSize[] = "ios-memory-wedge-size-mb"; 28 const char kIOSMemoryWedgeSize[] = "ios-memory-wedge-size-mb";
26 29
27 } // namespace switches 30 } // namespace switches
OLDNEW
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/ui/commands/ios_command_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698