ui_event.h 491 B

1234567891011121314151617181920
  1. // Copyright (c) 2020 Slack Technologies, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_
  5. #define ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_
  6. namespace v8 {
  7. class Object;
  8. template <typename T>
  9. class Local;
  10. } // namespace v8
  11. namespace electron::api {
  12. v8::Local<v8::Object> CreateEventFromFlags(int flags);
  13. } // namespace electron::api
  14. #endif // ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_