Add WebContentsPreferences::IsNativeWindowOpenEnabled

This commit is contained in:
Ryohei Ikegami 2017-03-19 17:12:25 +09:00
parent a215e8fb82
commit f7935b429a
2 changed files with 16 additions and 0 deletions

View file

@ -38,6 +38,7 @@ class WebContentsPreferences
content::WebContents* web_contents, base::CommandLine* command_line);
static bool IsSandboxed(content::WebContents* web_contents);
static bool IsNativeWindowOpenEnabled(content::WebContents* web_contents);
// Modify the WebPreferences according to |web_contents|'s preferences.
static void OverrideWebkitPrefs(