OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |