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

Unified Diff: Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced and sent out to the code review. Created 6 years, 4 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/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
diff --git a/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp b/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
index f554f36a9388e30fd819f75c635bb6d539b4ba46..499717d42b096005b5ed022204d16cf04ad63a06 100644
--- a/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
+++ b/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
@@ -36,6 +36,14 @@ namespace blink {
const WrapperTypeInfo V8TestSpecialOperationsNotEnumerable::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestSpecialOperationsNotEnumerable::domTemplate, V8TestSpecialOperationsNotEnumerable::refObject, V8TestSpecialOperationsNotEnumerable::derefObject, V8TestSpecialOperationsNotEnumerable::createPersistentHandle, 0, 0, 0, V8TestSpecialOperationsNotEnumerable::installConditionallyEnabledMethods, V8TestSpecialOperationsNotEnumerable::installConditionallyEnabledProperties, 0, WrapperTypeObjectPrototype, RefCountedObject };
+// The definition of TestSpecialOperationsNotEnumerable's WrapperTypeInfo. If TestSpecialOperationsNotEnumerable inherits
+// from ScriptWrappable, you have to write DEFINE_WRAPPERTYPEINFO macro in the
+// class definition. Otherwise, you have to write NotScriptWrappable in the IDL
+// file as an extended attribute in order to let IDL compiler know that
+// TestSpecialOperationsNotEnumerable doesn't inherit from ScriptWrappable. Note that
+// NotScriptWrappable is inheritable.
+const WrapperTypeInfo& TestSpecialOperationsNotEnumerable::s_wrapperTypeInfo = V8TestSpecialOperationsNotEnumerable::wrapperTypeInfo;
+
namespace TestSpecialOperationsNotEnumerableV8Internal {
template <typename T> void V8_USE(T) { }

Powered by Google App Engine
This is Rietveld 408576698