Remove unnecessary methods on WebContentsPreferences
This commit is contained in:
parent
2b623f5d86
commit
affa21600c
5 changed files with 36 additions and 82 deletions
|
@ -39,15 +39,6 @@ class WebContentsPreferences
|
|||
|
||||
static bool IsPreferenceEnabled(const std::string& attribute_name,
|
||||
content::WebContents* web_contents);
|
||||
static bool GetPreferenceString(const std::string& attribute_name,
|
||||
content::WebContents* web_contents,
|
||||
std::string* strValue);
|
||||
static bool IsSandboxed(content::WebContents* web_contents);
|
||||
static bool UsesNativeWindowOpen(content::WebContents* web_contents);
|
||||
static bool DisablePopups(content::WebContents* web_contents);
|
||||
static bool IsPluginsEnabled(content::WebContents* web_contents);
|
||||
static bool GetAffinity(content::WebContents* web_contents,
|
||||
std::string* string_value);
|
||||
|
||||
// Modify the WebPreferences according to |web_contents|'s preferences.
|
||||
static void OverrideWebkitPrefs(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue