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

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

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 10 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
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 "ui/gfx/icc_profile.h" 9 #include "ui/gfx/icc_profile.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return false; 99 return false;
100 } 100 }
101 101
102 #if defined(OS_ANDROID) 102 #if defined(OS_ANDROID)
103 bool ContentRendererClient::HandleNavigation( 103 bool ContentRendererClient::HandleNavigation(
104 RenderFrame* render_frame, 104 RenderFrame* render_frame,
105 bool is_content_initiated, 105 bool is_content_initiated,
106 bool render_view_was_created_by_renderer, 106 bool render_view_was_created_by_renderer,
107 blink::WebFrame* frame, 107 blink::WebFrame* frame,
108 const blink::WebURLRequest& request, 108 const blink::WebURLRequest& request,
109 blink::WebNavigationType type, 109 bool is_back_forward,
110 blink::WebNavigationPolicy default_policy, 110 blink::WebNavigationPolicy default_policy,
111 bool is_redirect) { 111 bool is_redirect) {
112 return false; 112 return false;
113 } 113 }
114 114
115 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) { 115 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) {
116 return false; 116 return false;
117 } 117 }
118 #endif 118 #endif
119 119
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { 223 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) {
224 return GURL(); 224 return GURL();
225 } 225 }
226 226
227 bool ContentRendererClient::AllowMediaSuspend() { 227 bool ContentRendererClient::AllowMediaSuspend() {
228 return true; 228 return true;
229 } 229 }
230 230
231 } // namespace content 231 } // 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