electron/shell/common/gin_converters
Cheng Zhao 0fe6767d6b
chore: remove native_mate (Part 11) (#20719)
* refactor: convert Menu and globalShortcut to gin

* refactor: convert api::Cookies to gin

* refactor: convert View and WebContentsView to gin

* refactor: convert WebContents related classes to gin

* refactor: convert powerMonitor to gin

* refactor: prepare for header change

* refactor: remove last uses of mate::EventEmitter

* refactor: remove mate::EventEmitter

* refactor: move trackable_object to gin_helper

* fix: custom converter should not use Handle

* fix: no more need to check if icon is empty

It was a bug that the Handle<NativeImage> can be non-empty when the
image file does not exist. The bug was caused by the converter code
writing out the image even when the convertion fails.

The bug was work-arounded by adding an additional check, but since the
original bug had been fixed, the additional check is no longer needed.

* fix: should always set frameId even when callback is null

* fix: do not mix gin/mate handles for NativeImage
2019-10-25 22:03:28 +09:00
..
accelerator_converter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
accelerator_converter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
blink_converter_gin_adapter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
callback_converter.h chore: remove native_mate (Part 2) (#20106) 2019-09-04 08:45:25 -07:00
content_converter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
content_converter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
file_dialog_converter.cc move file dialog converter to gin (#19709) 2019-08-13 14:49:48 +09:00
file_dialog_converter.h move file dialog converter to gin (#19709) 2019-08-13 14:49:48 +09:00
file_path_converter.h chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
gfx_converter.cc chore: remove native_mate (Part 8) (#20598) 2019-10-18 09:31:29 +09:00
gfx_converter.h chore: remove native_mate (Part 8) (#20598) 2019-10-18 09:31:29 +09:00
gurl_converter.h move gurl converter to gin (#19578) 2019-08-07 16:18:26 +09:00
image_converter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
image_converter.h move image converter to gin (#19655) 2019-08-15 11:18:34 +09:00
message_box_converter.cc move image converter to gin (#19655) 2019-08-15 11:18:34 +09:00
message_box_converter.h refactor: move native window gin converter (#19577) 2019-08-09 13:43:18 -07:00
native_window_converter.h refactor: move native window gin converter (#19577) 2019-08-09 13:43:18 -07:00
net_converter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
net_converter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
std_converter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
value_converter_gin_adapter.h chore: remove native_mate (Part 5) (#20264) 2019-09-19 08:09:15 -07:00