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

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

Issue 11293157: Add a new ContentRendererClient::HandleNavigation callback in RenderViewImpl::decidePolicyForNaviga… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 51 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
52 return true; 52 return true;
53 } 53 }
54 54
55 bool ContentRendererClient::AllowPopup(const GURL& creator) { 55 bool ContentRendererClient::AllowPopup(const GURL& creator) {
56 return false; 56 return false;
57 } 57 }
58 58
59 bool ContentRendererClient::HandleNavigation(
60 WebKit::WebFrame* frame,
61 const WebKit::WebURLRequest& request,
62 WebKit::WebNavigationType type,
63 WebKit::WebNavigationPolicy default_policy,
64 bool is_redirect) {
65 return false;
66 }
67
59 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, 68 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame,
60 const GURL& url, 69 const GURL& url,
61 bool is_initial_navigation, 70 bool is_initial_navigation,
62 bool* send_referrer) { 71 bool* send_referrer) {
63 return false; 72 return false;
64 } 73 }
65 74
66 bool ContentRendererClient::WillSendRequest( 75 bool ContentRendererClient::WillSendRequest(
67 WebKit::WebFrame* frame, 76 WebKit::WebFrame* frame,
68 PageTransition transition_type, 77 PageTransition transition_type,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 109
101 bool ContentRendererClient::HandleSetCookieRequest( 110 bool ContentRendererClient::HandleSetCookieRequest(
102 RenderView* sender, 111 RenderView* sender,
103 const GURL& url, 112 const GURL& url,
104 const GURL& first_party_for_cookies, 113 const GURL& first_party_for_cookies,
105 const std::string& value) { 114 const std::string& value) {
106 return false; 115 return false;
107 } 116 }
108 117
109 } // namespace content 118 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698