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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 bool ContentRendererClient::WillSendRequest( | 117 bool ContentRendererClient::WillSendRequest( |
118 blink::WebFrame* frame, | 118 blink::WebFrame* frame, |
119 PageTransition transition_type, | 119 PageTransition transition_type, |
120 const GURL& url, | 120 const GURL& url, |
121 const GURL& first_party_for_cookies, | 121 const GURL& first_party_for_cookies, |
122 GURL* new_url) { | 122 GURL* new_url) { |
123 return false; | 123 return false; |
124 } | 124 } |
125 | 125 |
126 bool ContentRendererClient::ShouldPumpEventsDuringCookieMessage() { | |
127 return false; | |
128 } | |
129 | |
130 unsigned long long ContentRendererClient::VisitedLinkHash( | 126 unsigned long long ContentRendererClient::VisitedLinkHash( |
131 const char* canonical_url, size_t length) { | 127 const char* canonical_url, size_t length) { |
132 return 0LL; | 128 return 0LL; |
133 } | 129 } |
134 | 130 |
135 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 131 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
136 return false; | 132 return false; |
137 } | 133 } |
138 | 134 |
139 blink::WebPrescientNetworking* | 135 blink::WebPrescientNetworking* |
140 ContentRendererClient::GetPrescientNetworking() { | 136 ContentRendererClient::GetPrescientNetworking() { |
141 return NULL; | 137 return NULL; |
142 } | 138 } |
143 | 139 |
144 bool ContentRendererClient::ShouldOverridePageVisibilityState( | 140 bool ContentRendererClient::ShouldOverridePageVisibilityState( |
145 const RenderFrame* render_frame, | 141 const RenderFrame* render_frame, |
146 blink::WebPageVisibilityState* override_state) { | 142 blink::WebPageVisibilityState* override_state) { |
147 return false; | 143 return false; |
148 } | 144 } |
149 | 145 |
150 bool ContentRendererClient::HandleGetCookieRequest( | |
151 RenderView* sender, | |
152 const GURL& url, | |
153 const GURL& first_party_for_cookies, | |
154 std::string* cookies) { | |
155 return false; | |
156 } | |
157 | |
158 bool ContentRendererClient::HandleSetCookieRequest( | |
159 RenderView* sender, | |
160 const GURL& url, | |
161 const GURL& first_party_for_cookies, | |
162 const std::string& value) { | |
163 return false; | |
164 } | |
165 | |
166 const void* ContentRendererClient::CreatePPAPIInterface( | 146 const void* ContentRendererClient::CreatePPAPIInterface( |
167 const std::string& interface_name) { | 147 const std::string& interface_name) { |
168 return NULL; | 148 return NULL; |
169 } | 149 } |
170 | 150 |
171 bool ContentRendererClient::IsExternalPepperPlugin( | 151 bool ContentRendererClient::IsExternalPepperPlugin( |
172 const std::string& module_name) { | 152 const std::string& module_name) { |
173 return false; | 153 return false; |
174 } | 154 } |
175 | 155 |
(...skipping 19 matching lines...) Expand all Loading... |
195 return true; | 175 return true; |
196 } | 176 } |
197 | 177 |
198 blink::WebWorkerPermissionClientProxy* | 178 blink::WebWorkerPermissionClientProxy* |
199 ContentRendererClient::CreateWorkerPermissionClientProxy( | 179 ContentRendererClient::CreateWorkerPermissionClientProxy( |
200 RenderView* render_view, blink::WebFrame* frame) { | 180 RenderView* render_view, blink::WebFrame* frame) { |
201 return NULL; | 181 return NULL; |
202 } | 182 } |
203 | 183 |
204 } // namespace content | 184 } // namespace content |
OLD | NEW |