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

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

Issue 2498463002: RenderWidget/RenderView: encapsulate ViewHostMsg_Show, etc, in a callback (Closed)
Patch Set: Remove RenderWidgetFullscreen Created 4 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 "cc/blimp/remote_compositor_bridge.h" 7 #include "cc/blimp/remote_compositor_bridge.h"
8 #include "content/public/renderer/media_stream_renderer_factory.h" 8 #include "content/public/renderer/media_stream_renderer_factory.h"
9 #include "media/base/renderer_factory.h" 9 #include "media/base/renderer_factory.h"
10 #include "ui/gfx/icc_profile.h" 10 #include "ui/gfx/icc_profile.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 bool ContentRendererClient::AllowPopup() { 99 bool ContentRendererClient::AllowPopup() {
100 return false; 100 return false;
101 } 101 }
102 102
103 #if defined(OS_ANDROID) 103 #if defined(OS_ANDROID)
104 bool ContentRendererClient::HandleNavigation( 104 bool ContentRendererClient::HandleNavigation(
105 RenderFrame* render_frame, 105 RenderFrame* render_frame,
106 bool is_content_initiated, 106 bool is_content_initiated,
107 int opener_id, 107 bool render_view_was_created_by_renderer,
108 blink::WebFrame* frame, 108 blink::WebFrame* frame,
109 const blink::WebURLRequest& request, 109 const blink::WebURLRequest& request,
110 blink::WebNavigationType type, 110 blink::WebNavigationType type,
111 blink::WebNavigationPolicy default_policy, 111 blink::WebNavigationPolicy default_policy,
112 bool is_redirect) { 112 bool is_redirect) {
113 return false; 113 return false;
114 } 114 }
115 115
116 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) { 116 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) {
117 return false; 117 return false;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 233 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
234 return true; 234 return true;
235 } 235 }
236 236
237 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { 237 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) {
238 return GURL(); 238 return GURL();
239 } 239 }
240 240
241 } // namespace content 241 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698