| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 15 #include "content/public/common/content_client.h" | 16 #include "content/public/common/content_client.h" |
| 16 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
| 17 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 18 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 class WebMediaStreamCenterClient; | 41 class WebMediaStreamCenterClient; |
| 41 class WebPlugin; | 42 class WebPlugin; |
| 42 class WebPluginContainer; | 43 class WebPluginContainer; |
| 43 class WebPluginPlaceholder; | 44 class WebPluginPlaceholder; |
| 44 class WebPrescientNetworking; | 45 class WebPrescientNetworking; |
| 45 class WebRTCPeerConnectionHandler; | 46 class WebRTCPeerConnectionHandler; |
| 46 class WebRTCPeerConnectionHandlerClient; | 47 class WebRTCPeerConnectionHandlerClient; |
| 47 class WebSpeechSynthesizer; | 48 class WebSpeechSynthesizer; |
| 48 class WebSpeechSynthesizerClient; | 49 class WebSpeechSynthesizerClient; |
| 49 class WebThemeEngine; | 50 class WebThemeEngine; |
| 51 class WebURLResponse; |
| 50 class WebURLRequest; | 52 class WebURLRequest; |
| 51 class WebWorkerContentSettingsClientProxy; | 53 class WebWorkerContentSettingsClientProxy; |
| 52 struct WebPluginParams; | 54 struct WebPluginParams; |
| 53 struct WebURLError; | 55 struct WebURLError; |
| 54 } | 56 } |
| 55 | 57 |
| 56 namespace media { | 58 namespace media { |
| 57 class MediaLog; | 59 class MediaLog; |
| 58 class RendererFactory; | 60 class RendererFactory; |
| 59 struct KeySystemInfo; | 61 struct KeySystemInfo; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 virtual void RecordRappor(const std::string& metric, | 300 virtual void RecordRappor(const std::string& metric, |
| 299 const std::string& sample) {} | 301 const std::string& sample) {} |
| 300 | 302 |
| 301 // Records a domain and registry of a url to a Rappor privacy-preserving | 303 // Records a domain and registry of a url to a Rappor privacy-preserving |
| 302 // metric. See: https://www.chromium.org/developers/design-documents/rappor | 304 // metric. See: https://www.chromium.org/developers/design-documents/rappor |
| 303 virtual void RecordRapporURL(const std::string& metric, const GURL& url) {} | 305 virtual void RecordRapporURL(const std::string& metric, const GURL& url) {} |
| 304 | 306 |
| 305 // Allows an embedder to provide a blink::WebAppBannerClient. | 307 // Allows an embedder to provide a blink::WebAppBannerClient. |
| 306 virtual scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 308 virtual scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
| 307 RenderFrame* render_frame); | 309 RenderFrame* render_frame); |
| 310 |
| 311 // Gives the embedder a chance to add properties to the context menu. |
| 312 virtual void AddContextMenuProperties( |
| 313 const blink::WebURLResponse& response, |
| 314 std::map<std::string, std::string>* properties) {} |
| 308 }; | 315 }; |
| 309 | 316 |
| 310 } // namespace content | 317 } // namespace content |
| 311 | 318 |
| 312 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 319 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |