Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 1319543004: Revert of Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/public/renderer/media_stream_renderer_factory.h" 7 #include "content/public/renderer/media_stream_renderer_factory.h"
8 #include "media/base/renderer_factory.h" 8 #include "media/base/renderer_factory.h"
9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h" 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
10 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 14 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
14 return nullptr; 15 return nullptr;
15 } 16 }
16 17
17 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { 18 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() {
18 return nullptr; 19 return nullptr;
19 } 20 }
20 21
22 scoped_ptr<blink::WebPluginPlaceholder>
23 ContentRendererClient::CreatePluginPlaceholder(
24 RenderFrame* render_frame,
25 blink::WebLocalFrame* frame,
26 const blink::WebPluginParams& params) {
27 return nullptr;
28 }
29
21 bool ContentRendererClient::OverrideCreatePlugin( 30 bool ContentRendererClient::OverrideCreatePlugin(
22 RenderFrame* render_frame, 31 RenderFrame* render_frame,
23 blink::WebLocalFrame* frame, 32 blink::WebLocalFrame* frame,
24 const blink::WebPluginParams& params, 33 const blink::WebPluginParams& params,
25 blink::WebPlugin** plugin) { 34 blink::WebPlugin** plugin) {
26 return false; 35 return false;
27 } 36 }
28 37
29 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( 38 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement(
30 RenderFrame* render_frame, 39 RenderFrame* render_frame,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 210 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
202 return std::string(); 211 return std::string();
203 } 212 }
204 213
205 scoped_ptr<blink::WebAppBannerClient> 214 scoped_ptr<blink::WebAppBannerClient>
206 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { 215 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) {
207 return nullptr; 216 return nullptr;
208 } 217 }
209 218
210 } // namespace content 219 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698