Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index bcd5caf609b2664c386a9aa47c463951077666ec..669c4a01ee63bb9355eae043405815f052961800 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -487,6 +487,10 @@ class CONTENT_EXPORT WebContentsDelegate { |
// Returns true if the WebContents is never visible. |
virtual bool IsNeverVisible(WebContents* web_contents); |
+ // Called in response to a request to save a frame. If this returns true, the |
+ // default behavior is suppressed. |
+ virtual bool SaveFrame(const GURL& url, const Referrer& referrer); |
+ |
protected: |
virtual ~WebContentsDelegate(); |