refactor: ginify Tray (#22822)
* refactor: ginify Tray * lint * improve argument parsing logic * remove redundant imports from tray.js * new Tray produces an instanceof Tray * make Constructible generic * lint * clean up on exit
This commit is contained in:
parent
76ae3b7ecb
commit
a3e28788ce
16 changed files with 380 additions and 88 deletions
22
shell/browser/api/ui_event.h
Normal file
22
shell/browser/api/ui_event.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Copyright (c) 2020 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_UI_EVENT_H_
|
||||
#define SHELL_BROWSER_API_UI_EVENT_H_
|
||||
|
||||
namespace v8 {
|
||||
class Object;
|
||||
template <typename T>
|
||||
class Local;
|
||||
} // namespace v8
|
||||
|
||||
namespace electron {
|
||||
namespace api {
|
||||
|
||||
v8::Local<v8::Object> CreateEventFromFlags(int flags);
|
||||
|
||||
} // namespace api
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_UI_EVENT_H_
|
Loading…
Add table
Add a link
Reference in a new issue