Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / chrome_pages.h
index d780520..0705e46 100644 (file)
@@ -57,8 +57,10 @@ void ShowSlow(Browser* browser);
 // Constructs a settings GURL for the specified |sub_page|.
 GURL GetSettingsUrl(const std::string& sub_page);
 
-// Returns true if |browser| is a popup window containing a settings page.
-bool IsSettingsWindow(const Browser* browser);
+// Returns true if |browser| is a trusted popup window containing a page with
+// matching |scheme| (or any trusted popup if |scheme| is empty).
+bool IsTrustedPopupWindowWithScheme(const Browser* browser,
+                                    const std::string& scheme);
 
 // Various things that open in a settings UI.
 void ShowSettings(Browser* browser);