electron/shell/common/gin_helper
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
..
arguments.cc chore: remove native_mate (Part 9) (#20645) 2019-10-21 16:05:40 +09:00
arguments.h chore: remove native_mate (Part 9) (#20645) 2019-10-21 16:05:40 +09:00
callback.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
callback.h chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
destroyable.cc chore: remove native_mate (Part 1) (#20085) 2019-09-04 11:14:16 +09:00
destroyable.h chore: remove native_mate (Part 1) (#20085) 2019-09-04 11:14:16 +09:00
dictionary.h chore: remove native_mate (Part 8) (#20598) 2019-10-18 09:31:29 +09:00
error_thrower.cc chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
error_thrower.h chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
event_emitter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
event_emitter.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
event_emitter_caller.cc chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
event_emitter_caller.h chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
function_template.cc chore: remove native_mate (Part 2) (#20106) 2019-09-04 08:45:25 -07:00
function_template.h chore: remove native_mate (Part 10) (#20696) 2019-10-24 14:47:58 +09:00
object_template_builder.cc chore: remove native_mate (Part 9) (#20645) 2019-10-21 16:05:40 +09:00
object_template_builder.h chore: remove native_mate (Part 9) (#20645) 2019-10-21 16:05:40 +09:00
trackable_object.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
trackable_object.h chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00