OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/content_browser_client.h" | 5 #include "content/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
8 #include "content/browser/ssl/ssl_client_auth_handler.h" | 8 #include "content/browser/ssl/ssl_client_auth_handler.h" |
9 #include "content/browser/webui/empty_web_ui_factory.h" | 9 #include "content/browser/webui/empty_web_ui_factory.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 handler->CertificateSelected(NULL); | 103 handler->CertificateSelected(NULL); |
104 } | 104 } |
105 | 105 |
106 void ContentBrowserClient::AddNewCertificate( | 106 void ContentBrowserClient::AddNewCertificate( |
107 net::URLRequest* request, | 107 net::URLRequest* request, |
108 net::X509Certificate* cert, | 108 net::X509Certificate* cert, |
109 int render_process_id, | 109 int render_process_id, |
110 int render_view_id) { | 110 int render_view_id) { |
111 } | 111 } |
112 | 112 |
| 113 void ContentBrowserClient::RequestDesktopNotificationPermission( |
| 114 const GURL& source_origin, |
| 115 int callback_context, |
| 116 int render_process_id, |
| 117 int render_view_id) { |
| 118 } |
| 119 |
| 120 WebKit::WebNotificationPresenter::Permission |
| 121 ContentBrowserClient::CheckDesktopNotificationPermission( |
| 122 const GURL& source_url, |
| 123 const content::ResourceContext& context) { |
| 124 return WebKit::WebNotificationPresenter::PermissionAllowed; |
| 125 } |
| 126 |
| 127 void ContentBrowserClient::ShowDesktopNotification( |
| 128 const DesktopNotificationHostMsg_Show_Params& params, |
| 129 int render_process_id, |
| 130 int render_view_id, |
| 131 bool worker) { |
| 132 } |
| 133 |
| 134 void ContentBrowserClient::CancelDesktopNotification( |
| 135 int render_process_id, |
| 136 int render_view_id, |
| 137 int notification_id) { |
| 138 } |
| 139 |
113 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 140 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
114 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { | 141 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { |
115 return -1; | 142 return -1; |
116 } | 143 } |
117 #endif | 144 #endif |
118 | 145 |
119 } // namespace content | 146 } // namespace content |
OLD | NEW |