mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-31 03:25:24 +01:00
dc3aae19e8
- Default plugin loading policy can be specified using the new `--plugin-policy=[allow|block|detect]` command-line flag. - Move CefRequestHandler::OnBeforePluginLoad to CefRequestContextHandler and add a new policy argument that supports different actions (allow, block, detect, disable) on a per-plugin-instance basis. - Add CefContextMenuHandler::RunContextMenu for providing a custom context menu implementation. - Add CefResourceBundleHandler::GetDataResourceForScale for returning scaled resources (issue #1272). - Add CefResourceBundle for retrieving resources from the resource bundle (*.pak) files loaded by CEF during startup or via the CefResourceBundleHandler. - Linux: Fix Debug build IO access warning with CefGetMimeType. - cef_unittests: Move the refcounting implementation from TestHandler to subclasses in order to support interface inheritance from subclasses.
59 lines
2.2 KiB
C++
59 lines
2.2 KiB
C++
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that can
|
|
// be found in the LICENSE file.
|
|
|
|
// Defines all the "cef" command-line switches.
|
|
|
|
#ifndef CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|
|
#define CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|
|
#pragma once
|
|
|
|
namespace switches {
|
|
|
|
extern const char kLogFile[];
|
|
extern const char kLogSeverity[];
|
|
extern const char kLogSeverity_Verbose[];
|
|
extern const char kLogSeverity_Info[];
|
|
extern const char kLogSeverity_Warning[];
|
|
extern const char kLogSeverity_Error[];
|
|
extern const char kLogSeverity_Disable[];
|
|
extern const char kResourcesDirPath[];
|
|
extern const char kLocalesDirPath[];
|
|
extern const char kDisablePackLoading[];
|
|
extern const char kUncaughtExceptionStackSize[];
|
|
extern const char kContextSafetyImplementation[];
|
|
extern const char kDefaultEncoding[];
|
|
extern const char kDisableJavascriptOpenWindows[];
|
|
extern const char kDisableJavascriptCloseWindows[];
|
|
extern const char kDisableJavascriptAccessClipboard[];
|
|
extern const char kDisableJavascriptDomPaste[];
|
|
extern const char kEnableCaretBrowsing[];
|
|
extern const char kAllowUniversalAccessFromFileUrls[];
|
|
extern const char kDisableImageLoading[];
|
|
extern const char kImageShrinkStandaloneToFit[];
|
|
extern const char kDisableTextAreaResize[];
|
|
extern const char kDisableTabToLinks[];
|
|
extern const char kPersistSessionCookies[];
|
|
extern const char kEnableMediaStream[];
|
|
extern const char kEnableSpeechInput[];
|
|
extern const char kEnableProfanityFilter[];
|
|
extern const char kCrashDumpsDir[];
|
|
extern const char kDisableSpellChecking[];
|
|
extern const char kEnableSpellingService[];
|
|
extern const char kOverrideSpellCheckLang[];
|
|
extern const char kEnableSystemFlash[];
|
|
extern const char kDisableScrollBounce[];
|
|
extern const char kDisablePdfExtension[];
|
|
extern const char kEnableNPAPI[];
|
|
extern const char kEnableWidevineCdm[];
|
|
extern const char kWidevineCdmPath[];
|
|
extern const char kWidevineCdmVersion[];
|
|
extern const char kPluginPolicy[];
|
|
extern const char kPluginPolicy_Allow[];
|
|
extern const char kPluginPolicy_Detect[];
|
|
extern const char kPluginPolicy_Block[];
|
|
|
|
} // namespace switches
|
|
|
|
#endif // CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|