Browse Source

Remove superfluous method

rreimann 8 years ago
parent
commit
c29316b568

+ 0 - 5
atom/browser/web_contents_preferences.cc

@@ -218,11 +218,6 @@ bool WebContentsPreferences::IsSandboxed(content::WebContents* web_contents) {
   return IsPreferenceEnabled("sandbox", web_contents);
 }
 
-bool WebContentsPreferences::UsesNativeWindowOpen(
-    content::WebContents* web_contents) {
-  return IsPreferenceEnabled("nativeWindowOpen", web_contents);
-}
-
 bool WebContentsPreferences::IsPluginsEnabled(
     content::WebContents* web_contents) {
   return IsPreferenceEnabled("plugins", web_contents);

+ 0 - 1
atom/browser/web_contents_preferences.h

@@ -40,7 +40,6 @@ class WebContentsPreferences
   static bool IsPreferenceEnabled(const std::string& attribute_name,
                                   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);
 
   // Modify the WebPreferences according to |web_contents|'s preferences.