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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ |
7 | 7 |
8 #include "extensions/browser/api/extensions_api_client.h" | 8 #include "extensions/browser/api/extensions_api_client.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 class ShellExtensionsAPIClient : public ExtensionsAPIClient { | 12 class ShellExtensionsAPIClient : public ExtensionsAPIClient { |
13 public: | 13 public: |
14 ShellExtensionsAPIClient(); | 14 ShellExtensionsAPIClient(); |
15 | 15 |
16 // ExtensionsAPIClient implementation. | 16 // ExtensionsAPIClient implementation. |
| 17 void AttachWebContentsHelpers(content::WebContents* web_contents) const |
| 18 override; |
17 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override; | 19 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override; |
18 }; | 20 }; |
19 | 21 |
20 } // namespace extensions | 22 } // namespace extensions |
21 | 23 |
22 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ | 24 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ |
OLD | NEW |