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"
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
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 // Disables support for keyboard commands.
35 const char kDisableKeyboardCommands
[] = "disable-keyboard-commands";
37 } // namespace switches