Index: content/public/renderer/content_renderer_client.h |
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h |
index e4e8f0371a84562d30df6f3989e8c3fb2e7f16a8..3b48f17b7c3389dcfee805293b91aeafcdc726c9 100644 |
--- a/content/public/renderer/content_renderer_client.h |
+++ b/content/public/renderer/content_renderer_client.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
#define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
+#include <map> |
#include <string> |
#include <vector> |
@@ -46,6 +47,7 @@ class WebRTCPeerConnectionHandlerClient; |
class WebSpeechSynthesizer; |
class WebSpeechSynthesizerClient; |
class WebThemeEngine; |
+class WebURLResponse; |
class WebURLRequest; |
class WebWorkerContentSettingsClientProxy; |
struct WebPluginParams; |
@@ -300,6 +302,11 @@ class CONTENT_EXPORT ContentRendererClient { |
// Records a domain and registry of a url to a Rappor privacy-preserving |
// metric. See: https://www.chromium.org/developers/design-documents/rappor |
virtual void RecordRapporURL(const std::string& metric, const GURL& url) {} |
+ |
+ // Gives the embedder a chance to add properties to the context menu. |
+ virtual void AddContextMenuProperties( |
+ const blink::WebURLResponse& response, |
+ std::map<std::string, std::string>* properties) {} |
}; |
} // namespace content |