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 "third_party/WebKit/public/web/WebPluginPlaceholder.h" | 7 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 const GURL& url) { | 191 const GURL& url) { |
192 return false; | 192 return false; |
193 } | 193 } |
194 | 194 |
195 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 195 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
196 return false; | 196 return false; |
197 } | 197 } |
198 | 198 |
199 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( | 199 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( |
200 RenderFrame* render_frame, | 200 RenderFrame* render_frame, |
201 const std::string& mime_type) { | 201 const std::string& mime_type, |
| 202 const GURL& original_url) { |
202 return nullptr; | 203 return nullptr; |
203 } | 204 } |
204 | 205 |
205 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 206 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
206 return std::string(); | 207 return std::string(); |
207 } | 208 } |
208 | 209 |
209 } // namespace content | 210 } // namespace content |
OLD | NEW |