chore: move more constants to options_switches.h/cc (#13093)
* Add options::kNativeWindowOpen * Add options::kSandbox * Add options::kPlugins * Add options::kWebSecurity * Add options::kAllowRunningInsecureContent * Add options::kOffscreen
This commit is contained in:
parent
ec44fb79d8
commit
45e78728bd
11 changed files with 47 additions and 22 deletions
|
@ -139,8 +139,20 @@ const char kNodeIntegrationInWorker[] = "nodeIntegrationInWorker";
|
|||
// Enable the web view tag.
|
||||
const char kWebviewTag[] = "webviewTag";
|
||||
|
||||
const char kNativeWindowOpen[] = "nativeWindowOpen";
|
||||
|
||||
const char kCustomArgs[] = "additionalArguments";
|
||||
|
||||
const char kPlugins[] = "plugins";
|
||||
|
||||
const char kSandbox[] = "sandbox";
|
||||
|
||||
const char kWebSecurity[] = "webSecurity";
|
||||
|
||||
const char kAllowRunningInsecureContent[] = "allowRunningInsecureContent";
|
||||
|
||||
const char kOffscreen[] = "offscreen";
|
||||
|
||||
} // namespace options
|
||||
|
||||
namespace switches {
|
||||
|
|
|
@ -68,7 +68,13 @@ extern const char kBlinkFeatures[];
|
|||
extern const char kDisableBlinkFeatures[];
|
||||
extern const char kNodeIntegrationInWorker[];
|
||||
extern const char kWebviewTag[];
|
||||
extern const char kNativeWindowOpen[];
|
||||
extern const char kCustomArgs[];
|
||||
extern const char kPlugins[];
|
||||
extern const char kSandbox[];
|
||||
extern const char kWebSecurity[];
|
||||
extern const char kAllowRunningInsecureContent[];
|
||||
extern const char kOffscreen[];
|
||||
|
||||
} // namespace options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue