| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class WebMediaStreamCenter; | 42 class WebMediaStreamCenter; |
| 43 class WebMediaStreamCenterClient; | 43 class WebMediaStreamCenterClient; |
| 44 class WebPlugin; | 44 class WebPlugin; |
| 45 class WebPluginContainer; | 45 class WebPluginContainer; |
| 46 class WebPrescientNetworking; | 46 class WebPrescientNetworking; |
| 47 class WebRTCPeerConnectionHandler; | 47 class WebRTCPeerConnectionHandler; |
| 48 class WebRTCPeerConnectionHandlerClient; | 48 class WebRTCPeerConnectionHandlerClient; |
| 49 class WebSpeechSynthesizer; | 49 class WebSpeechSynthesizer; |
| 50 class WebSpeechSynthesizerClient; | 50 class WebSpeechSynthesizerClient; |
| 51 class WebThemeEngine; | 51 class WebThemeEngine; |
| 52 class WebURL; |
| 52 class WebURLResponse; | 53 class WebURLResponse; |
| 53 class WebURLRequest; | 54 class WebURLRequest; |
| 54 class WebWorkerContentSettingsClientProxy; | 55 class WebWorkerContentSettingsClientProxy; |
| 55 struct WebPluginParams; | 56 struct WebPluginParams; |
| 56 struct WebURLError; | 57 struct WebURLError; |
| 57 } | 58 } |
| 58 | 59 |
| 59 namespace cc { | 60 namespace cc { |
| 60 class ImageSerializationProcessor; | 61 class ImageSerializationProcessor; |
| 61 class RemoteCompositorBridge; | 62 class RemoteCompositorBridge; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 const GURL& url, | 240 const GURL& url, |
| 240 const std::string& http_method, | 241 const std::string& http_method, |
| 241 bool is_initial_navigation, | 242 bool is_initial_navigation, |
| 242 bool is_server_redirect, | 243 bool is_server_redirect, |
| 243 bool* send_referrer); | 244 bool* send_referrer); |
| 244 | 245 |
| 245 // Notifies the embedder that the given frame is requesting the resource at | 246 // Notifies the embedder that the given frame is requesting the resource at |
| 246 // |url|. If the function returns true, the url is changed to |new_url|. | 247 // |url|. If the function returns true, the url is changed to |new_url|. |
| 247 virtual bool WillSendRequest(blink::WebFrame* frame, | 248 virtual bool WillSendRequest(blink::WebFrame* frame, |
| 248 ui::PageTransition transition_type, | 249 ui::PageTransition transition_type, |
| 249 const GURL& url, | 250 const blink::WebURL& url, |
| 250 const GURL& first_party_for_cookies, | |
| 251 GURL* new_url); | 251 GURL* new_url); |
| 252 | 252 |
| 253 // Returns true if the request is associated with a document that is in | 253 // Returns true if the request is associated with a document that is in |
| 254 // ""prefetch only" mode, and will not be rendered. | 254 // ""prefetch only" mode, and will not be rendered. |
| 255 virtual bool IsPrefetchOnly(RenderFrame* render_frame, | 255 virtual bool IsPrefetchOnly(RenderFrame* render_frame, |
| 256 const blink::WebURLRequest& request); | 256 const blink::WebURLRequest& request); |
| 257 | 257 |
| 258 // See blink::Platform. | 258 // See blink::Platform. |
| 259 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 259 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
| 260 size_t length); | 260 size_t length); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 service_manager::InterfaceRegistry* interface_registry) {} | 381 service_manager::InterfaceRegistry* interface_registry) {} |
| 382 | 382 |
| 383 // Overwrites the given URL to use an HTML5 embed if possible. | 383 // Overwrites the given URL to use an HTML5 embed if possible. |
| 384 // An empty URL is returned if the URL is not overriden. | 384 // An empty URL is returned if the URL is not overriden. |
| 385 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); | 385 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 } // namespace content | 388 } // namespace content |
| 389 | 389 |
| 390 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 390 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |