refactor: EventEmitters without gin_helper (#22726)

This commit is contained in:
Jeremy Apthorp 2020-03-18 12:57:08 -07:00 committed by GitHub
parent fc661ec56b
commit 232ca8af39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 277 additions and 49 deletions

View file

@ -0,0 +1,21 @@
// Copyright (c) 2019 Slack Technologies, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
#define SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
namespace v8 {
template <typename T>
class Local;
class Object;
class Isolate;
} // namespace v8
namespace electron {
v8::Local<v8::Object> GetEventEmitterPrototype(v8::Isolate* isolate);
} // namespace electron
#endif // SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_