mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 12:10:41 +01:00
cefclient: Enable Chrome runtime by default (see #3685)
Run with `--disable-chrome-runtime` to use the Alloy runtime.
This commit is contained in:
parent
8283317cb1
commit
e7626b2df6
@ -69,6 +69,7 @@ class ClientBrowserDelegate : public ClientAppBrowser::Delegate {
|
||||
// Add logging for some common switches that the user may attempt to use.
|
||||
static const char* kIgnoredSwitches[] = {
|
||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||
switches::kDisableChromeRuntime,
|
||||
switches::kEnableChromeRuntime,
|
||||
#endif
|
||||
switches::kMultiThreadedMessageLoop,
|
||||
|
@ -79,7 +79,7 @@ MainContextImpl::MainContextImpl(CefRefPtr<CefCommandLine> command_line,
|
||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||
// Enable Chrome runtime bootstrap. See issue #2969 for details.
|
||||
use_chrome_bootstrap_ =
|
||||
command_line_->HasSwitch(switches::kEnableChromeRuntime);
|
||||
!command_line_->HasSwitch(switches::kDisableChromeRuntime);
|
||||
#endif
|
||||
|
||||
// Whether the Views framework will be used.
|
||||
|
@ -45,6 +45,7 @@ const char kSslClientCertificate[] = "ssl-client-certificate";
|
||||
const char kCRLSetsPath[] = "crl-sets-path";
|
||||
const char kNoActivate[] = "no-activate";
|
||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||
const char kDisableChromeRuntime[] = "disable-chrome-runtime";
|
||||
const char kEnableChromeRuntime[] = "enable-chrome-runtime";
|
||||
#endif
|
||||
const char kShowChromeToolbar[] = "show-chrome-toolbar";
|
||||
|
@ -39,6 +39,7 @@ extern const char kSslClientCertificate[];
|
||||
extern const char kCRLSetsPath[];
|
||||
extern const char kNoActivate[];
|
||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||
extern const char kDisableChromeRuntime[];
|
||||
extern const char kEnableChromeRuntime[];
|
||||
#endif
|
||||
extern const char kShowChromeToolbar[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user