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_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class BrowserPluginDelegate; | 25 class BrowserPluginDelegate; |
26 class RenderFrame; | 26 class RenderFrame; |
27 class RenderView; | 27 class RenderView; |
28 } | 28 } |
29 | 29 |
30 namespace extensions { | 30 namespace extensions { |
31 class Dispatcher; | 31 class Dispatcher; |
32 class ExtensionsGuestViewContainerDispatcher; | |
33 class RendererPermissionsPolicyDelegate; | 32 class RendererPermissionsPolicyDelegate; |
34 class ResourceRequestPolicy; | 33 class ResourceRequestPolicy; |
35 } | 34 } |
36 | 35 |
37 class ChromeExtensionsRendererClient | 36 class ChromeExtensionsRendererClient |
38 : public extensions::ExtensionsRendererClient { | 37 : public extensions::ExtensionsRendererClient { |
39 public: | 38 public: |
40 ChromeExtensionsRendererClient(); | 39 ChromeExtensionsRendererClient(); |
41 ~ChromeExtensionsRendererClient() override; | 40 ~ChromeExtensionsRendererClient() override; |
42 | 41 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 73 |
75 extensions::Dispatcher* extension_dispatcher() { | 74 extensions::Dispatcher* extension_dispatcher() { |
76 return extension_dispatcher_.get(); | 75 return extension_dispatcher_.get(); |
77 } | 76 } |
78 | 77 |
79 private: | 78 private: |
80 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; | 79 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; |
81 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; | 80 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; |
82 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> | 81 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> |
83 permissions_policy_delegate_; | 82 permissions_policy_delegate_; |
84 scoped_ptr<extensions::ExtensionsGuestViewContainerDispatcher> | |
85 guest_view_container_dispatcher_; | |
86 scoped_ptr<extensions::ResourceRequestPolicy> resource_request_policy_; | 83 scoped_ptr<extensions::ResourceRequestPolicy> resource_request_policy_; |
87 | 84 |
88 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsRendererClient); | 85 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsRendererClient); |
89 }; | 86 }; |
90 | 87 |
91 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ | 88 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_ |
OLD | NEW |