electron/common/api
Cheng Zhao d63de1ae15 Wrap callbacks with v8::Locker.
In browser process, because of the use of v8::Locker in ProxyResolverV8,
creating HandleScope requires entering locker first, so in browser
process we should just use v8::Locker whenever we need to use V8 in a
callback called from non-V8 places (like dialog's callback, work pushed
to MessageLoop).

But also notice that the renderer process doesn't use v8::Locker, so we
have to be careful not to use it, otherwise blink would crash when
creating HandleScope.
2014-01-27 15:14:11 +08:00
..
lib Add initial screen module. 2014-01-07 20:00:25 +08:00
api_messages.cc Share same native bindings code on both renderer and browser. 2013-04-21 14:53:26 +08:00
api_messages.h base/string16.h was moved to base/strings/string16.h. 2013-12-10 14:14:05 +08:00
atom_api_clipboard.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_api_clipboard.h Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_api_crash_reporter.cc Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_api_crash_reporter.h Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_api_event_emitter.cc Wrap callbacks with v8::Locker. 2014-01-27 15:14:11 +08:00
atom_api_event_emitter.h api::EventEmitter could also be used by renderer. 2014-01-07 19:32:40 +08:00
atom_api_id_weak_map.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_api_id_weak_map.h Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_api_screen.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_api_screen.h Add screen.getPrimaryDisplay() API. 2014-01-07 20:15:55 +08:00
atom_api_shell.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_api_shell.h Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_api_v8_util.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_bindings.cc Remove unneeded HandleScopes. 2014-01-27 15:01:06 +08:00
atom_bindings.h Add process.scheduleCallback. 2014-01-09 20:33:07 +08:00
atom_extensions.cc Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
atom_extensions.h Add initial screen module. 2014-01-07 20:00:25 +08:00
object_life_monitor.cc Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00
object_life_monitor.h Huge commit to use new V8 and Content APIs. 2013-12-11 15:48:19 +08:00