OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 content::ResourceType resource_type, | 64 content::ResourceType resource_type, |
65 bool overridable, | 65 bool overridable, |
66 bool strict_enforcement, | 66 bool strict_enforcement, |
67 bool expired_previous_decision, | 67 bool expired_previous_decision, |
68 const base::Callback<void(bool)>& callback, | 68 const base::Callback<void(bool)>& callback, |
69 content::CertificateRequestResultType* result) override; | 69 content::CertificateRequestResultType* result) override; |
70 void SelectClientCertificate( | 70 void SelectClientCertificate( |
71 content::WebContents* web_contents, | 71 content::WebContents* web_contents, |
72 net::SSLCertRequestInfo* cert_request_info, | 72 net::SSLCertRequestInfo* cert_request_info, |
73 scoped_ptr<content::ClientCertificateDelegate> delegate) override; | 73 scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
| 74 void RequestPermission( |
| 75 content::PermissionType permission, |
| 76 content::WebContents* web_contents, |
| 77 int bridge_id, |
| 78 const GURL& requesting_frame, |
| 79 bool user_gesture, |
| 80 const base::Callback<void(content::PermissionStatus)>& callback) override; |
| 81 content::PermissionStatus GetPermissionStatus( |
| 82 content::PermissionType permission, |
| 83 content::BrowserContext* browser_context, |
| 84 const GURL& requesting_origin, |
| 85 const GURL& embedding_origin) override; |
74 bool CanCreateWindow( | 86 bool CanCreateWindow( |
75 const GURL& opener_url, | 87 const GURL& opener_url, |
76 const GURL& opener_top_level_frame_url, | 88 const GURL& opener_top_level_frame_url, |
77 const GURL& source_origin, | 89 const GURL& source_origin, |
78 WindowContainerType container_type, | 90 WindowContainerType container_type, |
79 const GURL& target_url, | 91 const GURL& target_url, |
80 const content::Referrer& referrer, | 92 const content::Referrer& referrer, |
81 WindowOpenDisposition disposition, | 93 WindowOpenDisposition disposition, |
82 const blink::WebWindowFeatures& features, | 94 const blink::WebWindowFeatures& features, |
83 bool user_gesture, | 95 bool user_gesture, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 128 |
117 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 129 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
118 | 130 |
119 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 131 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
120 }; | 132 }; |
121 | 133 |
122 } // namespace shell | 134 } // namespace shell |
123 } // namespace chromecast | 135 } // namespace chromecast |
124 | 136 |
125 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 137 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |