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

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

Issue 27551003: The content api for shouldoverrideurlloading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 7 years 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_view_impl.cc » ('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 namespace content { 7 namespace content {
8 8
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL; 10 return NULL;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 87
88 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 88 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
89 return true; 89 return true;
90 } 90 }
91 91
92 bool ContentRendererClient::AllowPopup() { 92 bool ContentRendererClient::AllowPopup() {
93 return false; 93 return false;
94 } 94 }
95 95
96 #ifdef OS_ANDROID
96 bool ContentRendererClient::HandleNavigation( 97 bool ContentRendererClient::HandleNavigation(
98 RenderView* view,
99 DocumentState* document_state,
100 int opener_id,
97 blink::WebFrame* frame, 101 blink::WebFrame* frame,
98 const blink::WebURLRequest& request, 102 const blink::WebURLRequest& request,
99 blink::WebNavigationType type, 103 blink::WebNavigationType type,
100 blink::WebNavigationPolicy default_policy, 104 blink::WebNavigationPolicy default_policy,
101 bool is_redirect) { 105 bool is_redirect) {
102 return false; 106 return false;
103 } 107 }
108 #endif
104 109
105 bool ContentRendererClient::ShouldFork(blink::WebFrame* frame, 110 bool ContentRendererClient::ShouldFork(blink::WebFrame* frame,
106 const GURL& url, 111 const GURL& url,
107 const std::string& http_method, 112 const std::string& http_method,
108 bool is_initial_navigation, 113 bool is_initial_navigation,
109 bool is_server_redirect, 114 bool is_server_redirect,
110 bool* send_referrer) { 115 bool* send_referrer) {
111 return false; 116 return false;
112 } 117 }
113 118
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 return true; 197 return true;
193 } 198 }
194 199
195 blink::WebWorkerPermissionClientProxy* 200 blink::WebWorkerPermissionClientProxy*
196 ContentRendererClient::CreateWorkerPermissionClientProxy( 201 ContentRendererClient::CreateWorkerPermissionClientProxy(
197 RenderView* render_view, blink::WebFrame* frame) { 202 RenderView* render_view, blink::WebFrame* frame) {
198 return NULL; 203 return NULL;
199 } 204 }
200 205
201 } // namespace content 206 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698