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

Unified Diff: Source/bindings/core/v8/ScriptValue.h

Issue 1130763006: IDL: Add any support to IDL dictionary and use it in CustomEventInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
Index: Source/bindings/core/v8/ScriptValue.h
diff --git a/Source/bindings/core/v8/ScriptValue.h b/Source/bindings/core/v8/ScriptValue.h
index 47b545371b6b7b91078fa4a2e536a2d02e73e743..010f92d62aa854f28ad1adb0efe2c4be63d40840 100644
--- a/Source/bindings/core/v8/ScriptValue.h
+++ b/Source/bindings/core/v8/ScriptValue.h
@@ -170,7 +170,12 @@ public:
}
v8::Local<v8::Value> v8Value() const;
+ // TODO(bashi): Remove v8ValueUnsafe().
v8::Local<v8::Value> v8ValueUnsafe() const;
+ // Returns v8Value() if a given ScriptState is the same as the
+ // ScriptState which is associated with this ScriptValue. Otherwise
+ // this "clones" the v8 value and returns it.
+ v8::Local<v8::Value> v8ValueFor(ScriptState*);
bool toString(String&) const;
« no previous file with comments | « LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt ('k') | Source/bindings/core/v8/ScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698