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_RENDERER_DISPATCHER_H_ | 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_ |
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ | 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "extensions/renderer/script_context_set.h" | 30 #include "extensions/renderer/script_context_set.h" |
31 #include "extensions/renderer/user_script_set_manager.h" | 31 #include "extensions/renderer/user_script_set_manager.h" |
32 #include "extensions/renderer/v8_schema_registry.h" | 32 #include "extensions/renderer/v8_schema_registry.h" |
33 #include "third_party/WebKit/public/platform/WebString.h" | 33 #include "third_party/WebKit/public/platform/WebString.h" |
34 #include "third_party/WebKit/public/platform/WebVector.h" | 34 #include "third_party/WebKit/public/platform/WebVector.h" |
35 #include "v8/include/v8.h" | 35 #include "v8/include/v8.h" |
36 | 36 |
37 class ChromeRenderViewTest; | 37 class ChromeRenderViewTest; |
38 class GURL; | 38 class GURL; |
39 class ModuleSystem; | 39 class ModuleSystem; |
40 class URLPattern; | |
41 struct ExtensionMsg_DispatchEvent_Params; | 40 struct ExtensionMsg_DispatchEvent_Params; |
42 struct ExtensionMsg_ExternalConnectionInfo; | 41 struct ExtensionMsg_ExternalConnectionInfo; |
43 struct ExtensionMsg_Loaded_Params; | 42 struct ExtensionMsg_Loaded_Params; |
44 struct ExtensionMsg_TabConnectionInfo; | 43 struct ExtensionMsg_TabConnectionInfo; |
45 struct ExtensionMsg_UpdatePermissions_Params; | 44 struct ExtensionMsg_UpdatePermissions_Params; |
46 | 45 |
47 namespace blink { | 46 namespace blink { |
48 class WebFrame; | |
49 class WebLocalFrame; | 47 class WebLocalFrame; |
50 class WebSecurityOrigin; | |
51 } | 48 } |
52 | 49 |
53 namespace base { | 50 namespace base { |
54 class ListValue; | 51 class ListValue; |
55 } | 52 } |
56 | 53 |
57 namespace content { | |
58 class RenderThread; | |
59 } | |
60 | |
61 namespace extensions { | 54 namespace extensions { |
62 class ContentWatcher; | 55 class ContentWatcher; |
63 class DispatcherDelegate; | 56 class DispatcherDelegate; |
64 class FilteredEventRouter; | |
65 class ExtensionBindingsSystem; | 57 class ExtensionBindingsSystem; |
66 class ManifestPermissionSet; | |
67 class RequestSender; | 58 class RequestSender; |
68 class ScriptContext; | 59 class ScriptContext; |
69 class ScriptInjectionManager; | 60 class ScriptInjectionManager; |
70 struct Message; | 61 struct Message; |
71 | 62 |
72 // Dispatches extension control messages sent to the renderer and stores | 63 // Dispatches extension control messages sent to the renderer and stores |
73 // renderer extension related state. | 64 // renderer extension related state. |
74 class Dispatcher : public content::RenderThreadObserver, | 65 class Dispatcher : public content::RenderThreadObserver, |
75 public UserScriptSetManager::Observer { | 66 public UserScriptSetManager::Observer { |
76 public: | 67 public: |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 // if this renderer is a WebView guest render process. Otherwise, this will be | 290 // if this renderer is a WebView guest render process. Otherwise, this will be |
300 // empty. | 291 // empty. |
301 std::string webview_partition_id_; | 292 std::string webview_partition_id_; |
302 | 293 |
303 DISALLOW_COPY_AND_ASSIGN(Dispatcher); | 294 DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
304 }; | 295 }; |
305 | 296 |
306 } // namespace extensions | 297 } // namespace extensions |
307 | 298 |
308 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ | 299 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ |
OLD | NEW |