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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 virtual void AddCertificate(net::CertificateMimeType cert_type, | 182 virtual void AddCertificate(net::CertificateMimeType cert_type, |
183 const void* cert_data, | 183 const void* cert_data, |
184 size_t cert_size, | 184 size_t cert_size, |
185 int render_process_id, | 185 int render_process_id, |
186 int render_frame_id) OVERRIDE; | 186 int render_frame_id) OVERRIDE; |
187 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; | 187 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; |
188 virtual void RequestDesktopNotificationPermission( | 188 virtual void RequestDesktopNotificationPermission( |
189 const GURL& source_origin, | 189 const GURL& source_origin, |
190 content::RenderFrameHost* render_frame_host, | 190 content::RenderFrameHost* render_frame_host, |
191 const base::Closure& callback) OVERRIDE; | 191 const base::Closure& callback) OVERRIDE; |
192 virtual blink::WebNotificationPresenter::Permission | 192 virtual content::NotificationPresenterPermission |
193 CheckDesktopNotificationPermission( | 193 CheckDesktopNotificationPermission( |
194 const GURL& source_origin, | 194 const GURL& source_origin, |
195 content::ResourceContext* context, | 195 content::ResourceContext* context, |
196 int render_process_id) OVERRIDE; | 196 int render_process_id) OVERRIDE; |
197 virtual void ShowDesktopNotification( | 197 virtual void ShowDesktopNotification( |
198 const content::ShowDesktopNotificationHostMsgParams& params, | 198 const content::ShowDesktopNotificationHostMsgParams& params, |
199 content::RenderFrameHost* render_frame_host, | 199 content::RenderFrameHost* render_frame_host, |
200 content::DesktopNotificationDelegate* delegate, | 200 content::DesktopNotificationDelegate* delegate, |
201 base::Closure* cancel_callback) OVERRIDE; | 201 base::Closure* cancel_callback) OVERRIDE; |
202 virtual void RequestGeolocationPermission( | 202 virtual void RequestGeolocationPermission( |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
348 | 348 |
349 friend class DisableWebRtcEncryptionFlagTest; | 349 friend class DisableWebRtcEncryptionFlagTest; |
350 | 350 |
351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
352 }; | 352 }; |
353 | 353 |
354 } // namespace chrome | 354 } // namespace chrome |
355 | 355 |
356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |