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/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "net/ssl/client_cert_store.h" |
8 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 10 #include "url/gurl.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
14 const MainFunctionParams& parameters) { | 15 const MainFunctionParams& parameters) { |
15 return NULL; | 16 return NULL; |
16 } | 17 } |
17 | 18 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 205 } |
205 | 206 |
206 WebKit::WebNotificationPresenter::Permission | 207 WebKit::WebNotificationPresenter::Permission |
207 ContentBrowserClient::CheckDesktopNotificationPermission( | 208 ContentBrowserClient::CheckDesktopNotificationPermission( |
208 const GURL& source_origin, | 209 const GURL& source_origin, |
209 ResourceContext* context, | 210 ResourceContext* context, |
210 int render_process_id) { | 211 int render_process_id) { |
211 return WebKit::WebNotificationPresenter::PermissionAllowed; | 212 return WebKit::WebNotificationPresenter::PermissionAllowed; |
212 } | 213 } |
213 | 214 |
| 215 scoped_ptr<net::ClientCertStore> ContentBrowserClient::GetClientCertStore( |
| 216 ResourceContext* context) { |
| 217 return scoped_ptr<net::ClientCertStore>(); |
| 218 } |
| 219 |
214 bool ContentBrowserClient::CanCreateWindow( | 220 bool ContentBrowserClient::CanCreateWindow( |
215 const GURL& opener_url, | 221 const GURL& opener_url, |
216 const GURL& opener_top_level_frame_url, | 222 const GURL& opener_top_level_frame_url, |
217 const GURL& source_origin, | 223 const GURL& source_origin, |
218 WindowContainerType container_type, | 224 WindowContainerType container_type, |
219 const GURL& target_url, | 225 const GURL& target_url, |
220 const content::Referrer& referrer, | 226 const content::Referrer& referrer, |
221 WindowOpenDisposition disposition, | 227 WindowOpenDisposition disposition, |
222 const WebKit::WebWindowFeatures& features, | 228 const WebKit::WebWindowFeatures& features, |
223 bool user_gesture, | 229 bool user_gesture, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 } | 307 } |
302 #endif | 308 #endif |
303 | 309 |
304 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( | 310 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
305 content::BrowserContext* browser_context, | 311 content::BrowserContext* browser_context, |
306 const GURL& url) { | 312 const GURL& url) { |
307 return false; | 313 return false; |
308 } | 314 } |
309 | 315 |
310 } // namespace content | 316 } // namespace content |
OLD | NEW |