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 #include "content/public/renderer/content_renderer_client.h" | 5 #include "content/public/renderer/content_renderer_client.h" |
6 | 6 |
7 #include "media/base/renderer_factory.h" | 7 #include "media/base/renderer_factory.h" |
8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" | 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 bool ContentRendererClient::ShouldFork(blink::WebFrame* frame, | 116 bool ContentRendererClient::ShouldFork(blink::WebFrame* frame, |
117 const GURL& url, | 117 const GURL& url, |
118 const std::string& http_method, | 118 const std::string& http_method, |
119 bool is_initial_navigation, | 119 bool is_initial_navigation, |
120 bool is_server_redirect, | 120 bool is_server_redirect, |
121 bool* send_referrer) { | 121 bool* send_referrer) { |
122 return false; | 122 return false; |
123 } | 123 } |
124 | 124 |
| 125 bool ContentRendererClient::ShouldForwardToGuestContainer( |
| 126 const IPC::Message& msg) { |
| 127 return false; |
| 128 } |
| 129 |
125 bool ContentRendererClient::WillSendRequest( | 130 bool ContentRendererClient::WillSendRequest( |
126 blink::WebFrame* frame, | 131 blink::WebFrame* frame, |
127 ui::PageTransition transition_type, | 132 ui::PageTransition transition_type, |
128 const GURL& url, | 133 const GURL& url, |
129 const GURL& first_party_for_cookies, | 134 const GURL& first_party_for_cookies, |
130 GURL* new_url) { | 135 GURL* new_url) { |
131 return false; | 136 return false; |
132 } | 137 } |
133 | 138 |
134 unsigned long long ContentRendererClient::VisitedLinkHash( | 139 unsigned long long ContentRendererClient::VisitedLinkHash( |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 const std::string& mime_type, | 212 const std::string& mime_type, |
208 const GURL& original_url) { | 213 const GURL& original_url) { |
209 return nullptr; | 214 return nullptr; |
210 } | 215 } |
211 | 216 |
212 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 217 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
213 return std::string(); | 218 return std::string(); |
214 } | 219 } |
215 | 220 |
216 } // namespace content | 221 } // namespace content |
OLD | NEW |