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

Unified Diff: src/d8.h

Issue 14404005: Add d8 functionality for switching between realms (a.k.a. contexts), 2nd try (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make realms work again interactively Created 7 years, 8 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 | « no previous file | src/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index 2789c076383be2448d4dacaa5afdf77476e4c37b..4d9504f0d45c9656c9e52b3c58a7b83d9521774d 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -298,6 +298,19 @@ class Shell : public i::AllStatic {
#endif // ENABLE_DEBUGGER_SUPPORT
#endif // V8_SHARED
+ static Handle<Value> RealmCurrent(const Arguments& args);
+ static Handle<Value> RealmOwner(const Arguments& args);
+ static Handle<Value> RealmGlobal(const Arguments& args);
+ static Handle<Value> RealmCreate(const Arguments& args);
+ static Handle<Value> RealmDispose(const Arguments& args);
+ static Handle<Value> RealmSwitch(const Arguments& args);
+ static Handle<Value> RealmEval(const Arguments& args);
+ static Handle<Value> RealmSharedGet(Local<String> property,
+ const AccessorInfo& info);
+ static void RealmSharedSet(Local<String> property,
+ Local<Value> value,
+ const AccessorInfo& info);
+
static Handle<Value> Print(const Arguments& args);
static Handle<Value> Write(const Arguments& args);
static Handle<Value> Quit(const Arguments& args);
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698