mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Support configuration of user agent and locale (see issue #2969)
This change adds support for CefSettings and command-line configuration of user_agent, user_agent_product (formerly product_version) and locale.
This commit is contained in:
@@ -126,6 +126,9 @@ const char kEnableChromeRuntime[] = "enable-chrome-runtime";
|
||||
// using the Chrome runtime.
|
||||
const char kDisableChromeLoginPrompt[] = "disable-chrome-login-prompt";
|
||||
|
||||
// Override the product component of the default User-Agent string.
|
||||
const char kUserAgentProductAndVersion[] = "user-agent-product";
|
||||
|
||||
#if defined(OS_MAC)
|
||||
// Path to the framework directory.
|
||||
const char kFrameworkDirPath[] = "framework-dir-path";
|
||||
|
Reference in New Issue
Block a user