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

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

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 4 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 "url/gurl.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 }
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 222
222 std::unique_ptr<blink::WebAppBannerClient> 223 std::unique_ptr<blink::WebAppBannerClient>
223 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { 224 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) {
224 return nullptr; 225 return nullptr;
225 } 226 }
226 227
227 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 228 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
228 return true; 229 return true;
229 } 230 }
230 231
232 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) {
233 return GURL();
234 }
235
231 } // namespace content 236 } // 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