1 // Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that can 3 // be found in the LICENSE file. 4 5 // Defines all the "cef" command-line switches. 6 7 #ifndef CEF_LIBCEF_COMMON_CEF_SWITCHES_H_ 8 #define CEF_LIBCEF_COMMON_CEF_SWITCHES_H_ 9 #pragma once 10 11 #include "build/build_config.h" 12 13 namespace switches { 14 15 extern const char kLogSeverity[]; 16 extern const char kLogSeverity_Verbose[]; 17 extern const char kLogSeverity_Info[]; 18 extern const char kLogSeverity_Warning[]; 19 extern const char kLogSeverity_Error[]; 20 extern const char kLogSeverity_Fatal[]; 21 extern const char kLogSeverity_Disable[]; 22 extern const char kResourcesDirPath[]; 23 extern const char kLocalesDirPath[]; 24 extern const char kDisablePackLoading[]; 25 extern const char kUncaughtExceptionStackSize[]; 26 extern const char kDefaultEncoding[]; 27 extern const char kDisableJavascript[]; 28 extern const char kDisableJavascriptCloseWindows[]; 29 extern const char kDisableJavascriptAccessClipboard[]; 30 extern const char kDisableJavascriptDomPaste[]; 31 extern const char kAllowUniversalAccessFromFileUrls[]; 32 extern const char kDisableImageLoading[]; 33 extern const char kImageShrinkStandaloneToFit[]; 34 extern const char kDisableTextAreaResize[]; 35 extern const char kDisableTabToLinks[]; 36 extern const char kDisablePlugins[]; 37 extern const char kPersistSessionCookies[]; 38 extern const char kPersistUserPreferences[]; 39 extern const char kEnableMediaStream[]; 40 extern const char kEnableSpeechInput[]; 41 extern const char kEnableProfanityFilter[]; 42 extern const char kDisableSpellChecking[]; 43 extern const char kEnableSpellingService[]; 44 extern const char kOverrideSpellCheckLang[]; 45 extern const char kDisableScrollBounce[]; 46 extern const char kDisablePdfExtension[]; 47 extern const char kPluginPolicy[]; 48 extern const char kPluginPolicy_Allow[]; 49 extern const char kPluginPolicy_Detect[]; 50 extern const char kPluginPolicy_Block[]; 51 extern const char kEnablePreferenceTesting[]; 52 extern const char kEnablePrintPreview[]; 53 extern const char kDisableNewBrowserInfoTimeout[]; 54 extern const char kDevToolsProtocolLogFile[]; 55 extern const char kEnableChromeRuntime[]; 56 extern const char kDisableChromeLoginPrompt[]; 57 extern const char kUserAgentProductAndVersion[]; 58 extern const char kDisableRequestHandlingForTesting[]; 59 60 #if BUILDFLAG(IS_MAC) 61 extern const char kFrameworkDirPath[]; 62 extern const char kMainBundlePath[]; 63 #endif 64 65 } // namespace switches 66 67 #endif // CEF_LIBCEF_COMMON_CEF_SWITCHES_H_ 68