Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: extensions/renderer/bindings/event_emitter.h

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/declarative_event_unittest.cc ('k') | extensions/renderer/bindings/event_emitter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698