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

Unified Diff: webkit/port/bindings/v8/v8_index.h

Issue 17246: Add V8 bindings for Worker (Part I). (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 | « webkit/port/bindings/v8/v8_custom.h ('k') | webkit/port/bindings/v8/v8_index.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_index.h
===================================================================
--- webkit/port/bindings/v8/v8_index.h (revision 8350)
+++ webkit/port/bindings/v8/v8_index.h (working copy)
@@ -26,6 +26,14 @@
#define VIDEO_NONNODE_TYPES(V)
#endif
+#if ENABLE(WORKERS)
+#define WORKER_NONNODE_WRAPPER_TYPES(V) \
+ V(WORKER, Worker) \
+ V(WORKERLOCATION, WorkerLocation)
+#else
+#define WORKER_NONNODE_WRAPPER_TYPES(V)
+#endif
+
#define DOM_NODE_TYPES(V) \
V(ATTR, Attr) \
V(CHARACTERDATA, CharacterData) \
@@ -319,9 +327,9 @@
V(XPATHRESULT, XPathResult) \
V(XSLTPROCESSOR, XSLTProcessor) \
ACTIVE_DOM_OBJECT_TYPES(V) \
- VIDEO_NONNODE_TYPES(V)
+ VIDEO_NONNODE_TYPES(V) \
+ WORKER_NONNODE_WRAPPER_TYPES(V)
-
#define DOM_OBJECT_TYPES(V) \
DOM_OBJECT_TYPES_1(V) \
DOM_OBJECT_TYPES_2(V)
« no previous file with comments | « webkit/port/bindings/v8/v8_custom.h ('k') | webkit/port/bindings/v8/v8_index.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698