Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ios / chrome / browser / chrome_switches.cc
blobcbd15d06ce95e877b7990c702ab98c656f242112
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
3 // found in the LICENSE file.
5 #include "ios/chrome/browser/chrome_switches.h"
7 namespace switches {
9 // -----------------------------------------------------------------------------
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
12 // all work out.
13 // -----------------------------------------------------------------------------
15 // Disables the blocking of external URL requests from sub-frames not initiated
16 // by user interaction.
17 const char kDisableIOSBlockUnpromptedExternalURLs[] =
18 "disable-block-external-urls";
20 // Disables the use of WKWebView instead of UIWebView.
21 const char kDisableIOSWKWebView[] = "disable-wkwebview";
23 // Enables the blocking of external URL requests from sub-frames not initiated
24 // by user interaction.
25 const char kEnableIOSBlockUnpromptedExternalURLs[] =
26 "enable-block-external-urls";
28 // Enables the use of WKWebView instead of UIWebView.
29 const char kEnableIOSWKWebView[] = "enable-wkwebview";
31 // Enables context-sensitive reader mode button in the toolbar.
32 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon";
34 // Defines the value in MB of the memory wedge to insert at cold launch.
35 const char kIOSMemoryWedgeSize[] = "ios-memory-wedge-size-mb";
37 } // namespace switches