| 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 content::WebContents* web_contents, | 182 content::WebContents* web_contents, |
| 183 int bridge_id, | 183 int bridge_id, |
| 184 const GURL& requesting_frame, | 184 const GURL& requesting_frame, |
| 185 bool user_gesture, | 185 bool user_gesture, |
| 186 const base::Callback<void(content::PermissionStatus)>& callback) override; | 186 const base::Callback<void(content::PermissionStatus)>& callback) override; |
| 187 content::PermissionStatus GetPermissionStatus( | 187 content::PermissionStatus GetPermissionStatus( |
| 188 content::PermissionType permission, | 188 content::PermissionType permission, |
| 189 content::BrowserContext* browser_context, | 189 content::BrowserContext* browser_context, |
| 190 const GURL& requesting_origin, | 190 const GURL& requesting_origin, |
| 191 const GURL& embedding_origin) override; | 191 const GURL& embedding_origin) override; |
| 192 int SubscribePermissionStatusChange( |
| 193 content::PermissionType permission, |
| 194 content::BrowserContext* browser_context, |
| 195 const GURL& requesting_origin, |
| 196 const GURL& embedding_origin, |
| 197 const base::Callback<void(content::PermissionStatus)>& callback) override; |
| 198 void UnsubscribePermissionStatusChange( |
| 199 content::BrowserContext* browser_context, |
| 200 int subscription_id) override; |
| 192 void ResetPermission( | 201 void ResetPermission( |
| 193 content::PermissionType permission, | 202 content::PermissionType permission, |
| 194 content::BrowserContext* browser_context, | 203 content::BrowserContext* browser_context, |
| 195 const GURL& requesting_origin, | 204 const GURL& requesting_origin, |
| 196 const GURL& embedding_origin) override; | 205 const GURL& embedding_origin) override; |
| 197 void CancelPermissionRequest(content::PermissionType permission, | 206 void CancelPermissionRequest(content::PermissionType permission, |
| 198 content::WebContents* web_contents, | 207 content::WebContents* web_contents, |
| 199 int bridge_id, | 208 int bridge_id, |
| 200 const GURL& requesting_frame) override; | 209 const GURL& requesting_frame) override; |
| 201 void RegisterPermissionUsage(content::PermissionType permission, | 210 void RegisterPermissionUsage(content::PermissionType permission, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 334 | 343 |
| 335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 336 | 345 |
| 337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 338 }; | 347 }; |
| 339 | 348 |
| 340 } // namespace chrome | 349 } // namespace chrome |
| 341 | 350 |
| 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |