Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / chrome_switches.cc
blob9d10d584e1e31037acf15edd6bb9b12f17b3472b
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 } // namespace switches