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

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

Issue 361863003: Add a helper for implementing Promise-valued properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More feedback. Keeping separate header file for now. Created 6 years, 6 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/core/v8/ScriptPromisePropertyTest.cpp ('k') | Source/bindings/core/v8/v8.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8HiddenValue.h
diff --git a/Source/bindings/core/v8/V8HiddenValue.h b/Source/bindings/core/v8/V8HiddenValue.h
index fdcbec74c53188f5af57eb2fb55e4b5c629e7eec..ab94db249cf11a1a96919dfd6e96fd583c37968a 100644
--- a/Source/bindings/core/v8/V8HiddenValue.h
+++ b/Source/bindings/core/v8/V8HiddenValue.h
@@ -6,6 +6,7 @@
#define V8HiddenValue_h
#include "bindings/core/v8/ScopedPersistent.h"
+#include "bindings/core/v8/ScriptPromiseProperties.h"
#include <v8.h>
namespace WebCore {
@@ -37,7 +38,9 @@ class ScriptWrappable;
V(stringData) \
V(scriptState) \
V(thenableHiddenPromise) \
- V(toStringString)
+ V(toStringString) \
+ SCRIPT_PROMISE_PROPERTIES(V, Promise) \
+ SCRIPT_PROMISE_PROPERTIES(V, Resolver)
class V8HiddenValue {
public:
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyTest.cpp ('k') | Source/bindings/core/v8/v8.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698