OLD | NEW |
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 |
OLD | NEW |