Commit Graph

5 Commits

Author SHA1 Message Date
Nathan Sobo
f22fedebcf Inject new instances of native objects into every JS context
This prevents concurrent access to the same state from different
worker threads. We needed to treat windowState specially because we
explicitly want it to last beyond the life-span of a single context.
So we store it as a static variable in `native.mm` and synchronize
access with a static `NSLock`. Good enough for now.
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
faaaaec846 Convert atom global to a window binding 2013-01-24 17:22:49 -08:00
Kevin Sawicki
8da096b7cd Use include instead of import 2012-09-20 16:24:20 -07:00
Kevin Sawicki
d4fc3f41fc Remove unneeded import 2012-09-20 16:24:20 -07:00
Nathan Sobo
76b8f42bb7 Add atom extension, which implements atom.open
We send a message from the render process to the browser process indicating which path to open. Also start introducing a `v8_extensions::` namespace to contain the extensions.
2012-08-28 11:08:50 -05:00