Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: Source/bindings/v8/DOMWrapperWorld.h

Issue 138223002: WIP: Implement binding layer for Blink-in-JavaScript Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/BlinkInJavaScriptController.js ('k') | Source/bindings/v8/V8BlinkInJavaScript.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/DOMWrapperWorld.h
diff --git a/Source/bindings/v8/DOMWrapperWorld.h b/Source/bindings/v8/DOMWrapperWorld.h
index baf951eebe564036d54b20f4f9cee22bc41c43f9..45fd8b4c299def9ba6e85092cc4dd466bde8b018 100644
--- a/Source/bindings/v8/DOMWrapperWorld.h
+++ b/Source/bindings/v8/DOMWrapperWorld.h
@@ -49,13 +49,15 @@ class ExecutionContext;
enum WorldIdConstants {
MainWorldId = 0,
EmbedderWorldIdLimit = (1 << 29),
- ScriptPreprocessorIsolatedWorldId
+ ScriptPreprocessorIsolatedWorldId,
+ BlinkInJavaScriptIsolatedWorldId,
};
// This class represent a collection of DOM wrappers for a specific world.
class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
public:
static const int mainWorldExtensionGroup = 0;
+ static const int blinkInJavaScriptWorldExtensionGroup = 1;
static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(int worldId, int extensionGroup);
~DOMWrapperWorld();
« no previous file with comments | « Source/bindings/v8/BlinkInJavaScriptController.js ('k') | Source/bindings/v8/V8BlinkInJavaScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698