Chromium Code Reviews| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 int render_frame_id, | 162 int render_frame_id, |
| 163 int cert_error, | 163 int cert_error, |
| 164 const net::SSLInfo& ssl_info, | 164 const net::SSLInfo& ssl_info, |
| 165 const GURL& request_url, | 165 const GURL& request_url, |
| 166 content::ResourceType resource_type, | 166 content::ResourceType resource_type, |
| 167 bool overridable, | 167 bool overridable, |
| 168 bool strict_enforcement, | 168 bool strict_enforcement, |
| 169 bool expired_previous_decision, | 169 bool expired_previous_decision, |
| 170 const base::Callback<void(bool)>& callback, | 170 const base::Callback<void(bool)>& callback, |
| 171 content::CertificateRequestResultType* request) override; | 171 content::CertificateRequestResultType* request) override; |
| 172 void SelectClientCertificate( | 172 virtual void SelectClientCertificate( |
|
Peter Beverloo
2014/10/24 14:37:28
s/virtual//.
Miguel Garcia
2014/10/24 16:05:32
Acknowledged.
| |
| 173 int render_process_id, | 173 int render_process_id, |
| 174 int render_frame_id, | 174 int render_frame_id, |
| 175 net::SSLCertRequestInfo* cert_request_info, | 175 net::SSLCertRequestInfo* cert_request_info, |
| 176 const base::Callback<void(net::X509Certificate*)>& callback) override; | 176 const base::Callback<void(net::X509Certificate*)>& callback) override; |
| 177 void AddCertificate(net::CertificateMimeType cert_type, | 177 void AddCertificate(net::CertificateMimeType cert_type, |
| 178 const void* cert_data, | 178 const void* cert_data, |
| 179 size_t cert_size, | 179 size_t cert_size, |
| 180 int render_process_id, | 180 int render_process_id, |
| 181 int render_frame_id) override; | 181 int render_frame_id) override; |
| 182 content::MediaObserver* GetMediaObserver() override; | 182 content::MediaObserver* GetMediaObserver() override; |
| 183 void RequestDesktopNotificationPermission( | |
| 184 const GURL& source_origin, | |
| 185 content::RenderFrameHost* render_frame_host, | |
| 186 const base::Callback<void(blink::WebNotificationPermission)>& callback) | |
| 187 override; | |
| 188 blink::WebNotificationPermission CheckDesktopNotificationPermission( | 183 blink::WebNotificationPermission CheckDesktopNotificationPermission( |
| 189 const GURL& source_origin, | 184 const GURL& source_origin, |
| 190 content::ResourceContext* context, | 185 content::ResourceContext* context, |
| 191 int render_process_id) override; | 186 int render_process_id) override; |
| 192 void ShowDesktopNotification( | 187 void ShowDesktopNotification( |
| 193 const content::ShowDesktopNotificationHostMsgParams& params, | 188 const content::ShowDesktopNotificationHostMsgParams& params, |
| 194 content::RenderFrameHost* render_frame_host, | 189 content::RenderFrameHost* render_frame_host, |
| 195 scoped_ptr<content::DesktopNotificationDelegate> delegate, | 190 scoped_ptr<content::DesktopNotificationDelegate> delegate, |
| 196 base::Closure* cancel_callback) override; | 191 base::Closure* cancel_callback) override; |
| 197 void RequestGeolocationPermission( | 192 void RequestPermission( |
| 193 content::PermissionType permission, | |
| 198 content::WebContents* web_contents, | 194 content::WebContents* web_contents, |
| 199 int bridge_id, | 195 int bridge_id, |
| 200 const GURL& requesting_frame, | 196 const GURL& requesting_frame, |
| 201 bool user_gesture, | 197 bool user_gesture, |
| 202 const base::Callback<void(bool)>& result_callback) override; | 198 const base::Callback<void(bool)>& result_callback) override; |
| 203 void CancelGeolocationPermissionRequest( | 199 void CancelPermissionRequest(content::PermissionType permission, |
| 204 content::WebContents* web_contents, | 200 content::WebContents* web_contents, |
| 205 int bridge_id, | 201 int bridge_id, |
| 206 const GURL& requesting_frame) override; | 202 const GURL& requesting_frame) override; |
| 207 void RequestMidiSysExPermission(content::WebContents* web_contents, | 203 void RegisterPermissionUsage(content::PermissionType permission, |
| 208 int bridge_id, | 204 content::WebContents* web_contents, |
| 209 const GURL& requesting_frame, | 205 const GURL& frame_url, |
| 210 bool user_gesture, | 206 const GURL& main_frame_url) override; |
| 211 base::Callback<void(bool)> result_callback, | |
| 212 base::Closure* cancel_callback) override; | |
| 213 void DidUseGeolocationPermission(content::WebContents* web_contents, | |
| 214 const GURL& frame_url, | |
| 215 const GURL& main_frame_url) override; | |
| 216 void RequestProtectedMediaIdentifierPermission( | |
| 217 content::WebContents* web_contents, | |
| 218 const GURL& origin, | |
| 219 base::Callback<void(bool)> result_callback, | |
| 220 base::Closure* cancel_callback) override; | |
| 221 bool CanCreateWindow(const GURL& opener_url, | 207 bool CanCreateWindow(const GURL& opener_url, |
| 222 const GURL& opener_top_level_frame_url, | 208 const GURL& opener_top_level_frame_url, |
| 223 const GURL& source_origin, | 209 const GURL& source_origin, |
| 224 WindowContainerType container_type, | 210 WindowContainerType container_type, |
| 225 const GURL& target_url, | 211 const GURL& target_url, |
| 226 const content::Referrer& referrer, | 212 const content::Referrer& referrer, |
| 227 WindowOpenDisposition disposition, | 213 WindowOpenDisposition disposition, |
| 228 const blink::WebWindowFeatures& features, | 214 const blink::WebWindowFeatures& features, |
| 229 bool user_gesture, | 215 bool user_gesture, |
| 230 bool opener_suppressed, | 216 bool opener_suppressed, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 330 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 345 | 331 |
| 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 332 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 347 | 333 |
| 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 334 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 349 }; | 335 }; |
| 350 | 336 |
| 351 } // namespace chrome | 337 } // namespace chrome |
| 352 | 338 |
| 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 339 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |