| 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 21 matching lines...) Expand all Loading... |
| 39 class WebMediaStreamCenterClient; | 40 class WebMediaStreamCenterClient; |
| 40 class WebPlugin; | 41 class WebPlugin; |
| 41 class WebPluginContainer; | 42 class WebPluginContainer; |
| 42 class WebPluginPlaceholder; | 43 class WebPluginPlaceholder; |
| 43 class WebPrescientNetworking; | 44 class WebPrescientNetworking; |
| 44 class WebRTCPeerConnectionHandler; | 45 class WebRTCPeerConnectionHandler; |
| 45 class WebRTCPeerConnectionHandlerClient; | 46 class WebRTCPeerConnectionHandlerClient; |
| 46 class WebSpeechSynthesizer; | 47 class WebSpeechSynthesizer; |
| 47 class WebSpeechSynthesizerClient; | 48 class WebSpeechSynthesizerClient; |
| 48 class WebThemeEngine; | 49 class WebThemeEngine; |
| 50 class WebURLResponse; |
| 49 class WebURLRequest; | 51 class WebURLRequest; |
| 50 class WebWorkerContentSettingsClientProxy; | 52 class WebWorkerContentSettingsClientProxy; |
| 51 struct WebPluginParams; | 53 struct WebPluginParams; |
| 52 struct WebURLError; | 54 struct WebURLError; |
| 53 } | 55 } |
| 54 | 56 |
| 55 namespace media { | 57 namespace media { |
| 56 class MediaLog; | 58 class MediaLog; |
| 57 class RendererFactory; | 59 class RendererFactory; |
| 58 struct KeySystemInfo; | 60 struct KeySystemInfo; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 virtual std::string GetUserAgentOverrideForURL(const GURL& url); | 295 virtual std::string GetUserAgentOverrideForURL(const GURL& url); |
| 294 | 296 |
| 295 // Records a sample string to a Rappor privacy-preserving metric. | 297 // Records a sample string to a Rappor privacy-preserving metric. |
| 296 // See: https://www.chromium.org/developers/design-documents/rappor | 298 // See: https://www.chromium.org/developers/design-documents/rappor |
| 297 virtual void RecordRappor(const std::string& metric, | 299 virtual void RecordRappor(const std::string& metric, |
| 298 const std::string& sample) {} | 300 const std::string& sample) {} |
| 299 | 301 |
| 300 // Records a domain and registry of a url to a Rappor privacy-preserving | 302 // Records a domain and registry of a url to a Rappor privacy-preserving |
| 301 // metric. See: https://www.chromium.org/developers/design-documents/rappor | 303 // metric. See: https://www.chromium.org/developers/design-documents/rappor |
| 302 virtual void RecordRapporURL(const std::string& metric, const GURL& url) {} | 304 virtual void RecordRapporURL(const std::string& metric, const GURL& url) {} |
| 305 |
| 306 // Gives the embedder a chance to add properties to the context menu. |
| 307 virtual void AddContextMenuProperties( |
| 308 const blink::WebURLResponse& response, |
| 309 std::map<std::string, std::string>* properties) {} |
| 303 }; | 310 }; |
| 304 | 311 |
| 305 } // namespace content | 312 } // namespace content |
| 306 | 313 |
| 307 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 314 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |