| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_EVENT_EMITTER_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_EVENT_EMITTER_H_ |
| 6 #define EXTENSIONS_RENDERER_EVENT_EMITTER_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_EVENT_EMITTER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "extensions/renderer/api_binding_types.h" | 10 #include "extensions/renderer/bindings/api_binding_types.h" |
| 11 #include "gin/wrappable.h" | 11 #include "gin/wrappable.h" |
| 12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 13 | 13 |
| 14 namespace gin { | 14 namespace gin { |
| 15 class Arguments; | 15 class Arguments; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace extensions { | 18 namespace extensions { |
| 19 class APIEventListeners; | 19 class APIEventListeners; |
| 20 struct EventFilteringInfo; | 20 struct EventFilteringInfo; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 std::unique_ptr<APIEventListeners> listeners_; | 75 std::unique_ptr<APIEventListeners> listeners_; |
| 76 | 76 |
| 77 binding::RunJSFunction run_js_; | 77 binding::RunJSFunction run_js_; |
| 78 binding::RunJSFunctionSync run_js_sync_; | 78 binding::RunJSFunctionSync run_js_sync_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(EventEmitter); | 80 DISALLOW_COPY_AND_ASSIGN(EventEmitter); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace extensions | 83 } // namespace extensions |
| 84 | 84 |
| 85 #endif // EXTENSIONS_RENDERER_EVENT_EMITTER_H_ | 85 #endif // EXTENSIONS_RENDERER_BINDINGS_EVENT_EMITTER_H_ |
| OLD | NEW |