Extract common code into IsPreferenceEnabled method
This commit is contained in:
parent
65da983ccb
commit
791486433d
2 changed files with 14 additions and 28 deletions
|
@ -37,6 +37,8 @@ class WebContentsPreferences
|
|||
static void AppendExtraCommandLineSwitches(
|
||||
content::WebContents* web_contents, base::CommandLine* command_line);
|
||||
|
||||
static bool IsPreferenceEnabled(const std::string& attributeName,
|
||||
content::WebContents* web_contents);
|
||||
static bool IsSandboxed(content::WebContents* web_contents);
|
||||
static bool UsesNativeWindowOpen(content::WebContents* web_contents);
|
||||
static bool IsPluginsEnabled(content::WebContents* web_contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue