Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 356c724e59da6db092aa0055e5fa68f3d94432e0..88f66cedabf0cc696d91290e0f3983e24de9f05b 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -474,6 +474,12 @@ class CONTENT_EXPORT ContentBrowserClient { |
base::Callback<void(bool)> result_callback, |
base::Closure* cancel_callback); |
+ // Informs the content settings host map that a permission has been used. |
Bernhard Bauer
2014/07/14 10:50:33
Informs whom? Content settings host map (actually
Daniel Nishi
2014/07/14 17:12:54
Removed reference to chrome concept.
|
+ virtual void UseContentSettingPermission(WebContents* web_contents, |
Bernhard Bauer
2014/07/14 10:50:33
I would probably call this "DidUse..." or somethin
Daniel Nishi
2014/07/14 17:12:54
Done.
|
+ const GURL& primary_url, |
+ const GURL& secondary_url, |
+ const std::string& setting_type); |
Bernhard Bauer
2014/07/14 10:50:33
This is somewhat weird as a content embedder inter
Daniel Nishi
2014/07/14 17:12:54
I'm not sure if WebContentsObserver is the right l
|
+ |
// Returns true if the given page is allowed to open a window of the given |
// type. If true is returned, |no_javascript_access| will indicate whether |
// the window that is created should be scriptable/in the same process. |