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 CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "extensions/browser/api/extensions_api_client.h" | 9 #include "extensions/browser/api/extensions_api_client.h" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual WebViewGuestDelegate* CreateWebViewGuestDelegate( | 32 virtual WebViewGuestDelegate* CreateWebViewGuestDelegate( |
33 WebViewGuest* web_view_guest) const override; | 33 WebViewGuest* web_view_guest) const override; |
34 virtual WebViewPermissionHelperDelegate* | 34 virtual WebViewPermissionHelperDelegate* |
35 CreateWebViewPermissionHelperDelegate( | 35 CreateWebViewPermissionHelperDelegate( |
36 WebViewPermissionHelper* web_view_permission_helper) const override; | 36 WebViewPermissionHelper* web_view_permission_helper) const override; |
37 virtual WebRequestEventRouterDelegate* CreateWebRequestEventRouterDelegate() | 37 virtual WebRequestEventRouterDelegate* CreateWebRequestEventRouterDelegate() |
38 const override; | 38 const override; |
39 virtual scoped_refptr<ContentRulesRegistry> CreateContentRulesRegistry( | 39 virtual scoped_refptr<ContentRulesRegistry> CreateContentRulesRegistry( |
40 content::BrowserContext* browser_context, | 40 content::BrowserContext* browser_context, |
41 RulesCacheDelegate* cache_delegate) const override; | 41 RulesCacheDelegate* cache_delegate) const override; |
| 42 virtual scoped_ptr<DevicePermissionsPrompt> CreateDevicePermissionsPrompt( |
| 43 content::WebContents* web_contents) const override; |
42 | 44 |
43 private: | 45 private: |
44 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient); | 46 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient); |
45 }; | 47 }; |
46 | 48 |
47 } // namespace extensions | 49 } // namespace extensions |
48 | 50 |
49 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 51 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
OLD | NEW |