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

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

Issue 649873006: Enable shadow DOM-based "missing plugin" placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed deleting this in the previous patch set Created 6 years, 1 month 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
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 "third_party/WebKit/public/web/WebPluginPlaceholder.h"
8
7 namespace content { 9 namespace content {
8 10
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 11 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL; 12 return NULL;
11 } 13 }
12 14
13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { 15 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() {
14 return NULL; 16 return NULL;
15 } 17 }
16 18
19 scoped_ptr<blink::WebPluginPlaceholder>
20 ContentRendererClient::CreatePluginPlaceholder(
21 RenderFrame* render_frame,
22 blink::WebLocalFrame* frame,
23 const blink::WebPluginParams& params) {
24 return nullptr;
25 }
26
17 bool ContentRendererClient::OverrideCreatePlugin( 27 bool ContentRendererClient::OverrideCreatePlugin(
18 RenderFrame* render_frame, 28 RenderFrame* render_frame,
19 blink::WebLocalFrame* frame, 29 blink::WebLocalFrame* frame,
20 const blink::WebPluginParams& params, 30 const blink::WebPluginParams& params,
21 blink::WebPlugin** plugin) { 31 blink::WebPlugin** plugin) {
22 return false; 32 return false;
23 } 33 }
24 34
25 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( 35 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement(
26 RenderFrame* render_frame, 36 RenderFrame* render_frame,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 RenderFrame* render_frame, 200 RenderFrame* render_frame,
191 const std::string& mime_type) { 201 const std::string& mime_type) {
192 return NULL; 202 return NULL;
193 } 203 }
194 204
195 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 205 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
196 return std::string(); 206 return std::string();
197 } 207 }
198 208
199 } // namespace content 209 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698