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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 content::ResourceType resource_type, | 177 content::ResourceType resource_type, |
178 bool overridable, | 178 bool overridable, |
179 bool strict_enforcement, | 179 bool strict_enforcement, |
180 bool expired_previous_decision, | 180 bool expired_previous_decision, |
181 const base::Callback<void(content::CertificateRequestResultType)>& | 181 const base::Callback<void(content::CertificateRequestResultType)>& |
182 callback) override; | 182 callback) override; |
183 void SelectClientCertificate( | 183 void SelectClientCertificate( |
184 content::WebContents* web_contents, | 184 content::WebContents* web_contents, |
185 net::SSLCertRequestInfo* cert_request_info, | 185 net::SSLCertRequestInfo* cert_request_info, |
186 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 186 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
187 void AddCertificate(net::CertificateMimeType cert_type, | |
188 const void* cert_data, | |
189 size_t cert_size, | |
190 int render_process_id, | |
191 int render_frame_id) override; | |
192 content::MediaObserver* GetMediaObserver() override; | 187 content::MediaObserver* GetMediaObserver() override; |
193 content::PlatformNotificationService* GetPlatformNotificationService() | 188 content::PlatformNotificationService* GetPlatformNotificationService() |
194 override; | 189 override; |
195 bool CanCreateWindow(const GURL& opener_url, | 190 bool CanCreateWindow(const GURL& opener_url, |
196 const GURL& opener_top_level_frame_url, | 191 const GURL& opener_top_level_frame_url, |
197 const GURL& source_origin, | 192 const GURL& source_origin, |
198 WindowContainerType container_type, | 193 WindowContainerType container_type, |
199 const GURL& target_url, | 194 const GURL& target_url, |
200 const content::Referrer& referrer, | 195 const content::Referrer& referrer, |
201 const std::string& frame_name, | 196 const std::string& frame_name, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 // Vector of additional ChromeContentBrowserClientParts. | 351 // Vector of additional ChromeContentBrowserClientParts. |
357 // Parts are deleted in the reverse order they are added. | 352 // Parts are deleted in the reverse order they are added. |
358 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 353 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
359 | 354 |
360 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 355 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
361 | 356 |
362 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 357 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
363 }; | 358 }; |
364 | 359 |
365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 360 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |