| 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 9e1e7d73e617ecfd1b584be661526f24ec7a9483..35b28af5d2333dbbcf6f9e307dbbb8ff095eb6ff 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>
|
|
|
| @@ -47,6 +48,7 @@ class WebRTCPeerConnectionHandlerClient;
|
| class WebSpeechSynthesizer;
|
| class WebSpeechSynthesizerClient;
|
| class WebThemeEngine;
|
| +class WebURLResponse;
|
| class WebURLRequest;
|
| class WebWorkerContentSettingsClientProxy;
|
| struct WebPluginParams;
|
| @@ -305,6 +307,11 @@ class CONTENT_EXPORT ContentRendererClient {
|
| // Allows an embedder to provide a blink::WebAppBannerClient.
|
| virtual scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(
|
| RenderFrame* render_frame);
|
| +
|
| + // 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
|
|
|