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. |
| 16 const char kDisableIOSWKWebView[] = "disable-wkwebview"; |
| 17 |
15 // Enables Open from Clipboard. | 18 // Enables Open from Clipboard. |
16 const char kEnableIOSOpenFromClipboard[] = "enable-ios-open-from-clipboard"; | 19 const char kEnableIOSOpenFromClipboard[] = "enable-ios-open-from-clipboard"; |
17 | 20 |
| 21 // Enables the use of WKWebView instead of UIWebView. |
| 22 const char kEnableIOSWKWebView[] = "enable-wkwebview"; |
| 23 |
18 // Defines the value in MB of the memory wedge to insert at cold launch. | 24 // Defines the value in MB of the memory wedge to insert at cold launch. |
19 const char kIOSMemoryWedgeSize[] = "ios-memory-wedge-size-mb"; | 25 const char kIOSMemoryWedgeSize[] = "ios-memory-wedge-size-mb"; |
20 | 26 |
21 } // namespace switches | 27 } // namespace switches |
OLD | NEW |