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

Unified Diff: tools/dom/templates/html/dartium/cpp_header.template

Issue 12983007: Changes for chrome roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/dartium/cpp_header.template
diff --git a/tools/dom/templates/html/dartium/cpp_header.template b/tools/dom/templates/html/dartium/cpp_header.template
index bbe5835ba6b076a70e911b43132560071e6ebf0c..ee4ef1feb38087c6605ec595c4827404e8fe2379 100644
--- a/tools/dom/templates/html/dartium/cpp_header.template
+++ b/tools/dom/templates/html/dartium/cpp_header.template
@@ -8,6 +8,7 @@
#define Dart$(INTERFACE)_h
#include "DartDOMWrapper.h"
+#include "DartWrapperTypeInfo.h"
$WEBCORE_INCLUDES
#include <dart_api.h>
@@ -20,6 +21,7 @@ struct Dart$INTERFACE {
static const bool isNode = $IS_NODE;
static const bool isActive = $IS_ACTIVE;
static const bool isEventTarget = $IS_EVENT_TARGET;
+ static DartWrapperTypeInfo info;
$TO_NATIVE
$TO_DART
@@ -31,6 +33,12 @@ $TO_DART
static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount);
};
+template<>
+class DartWrapperTypeTraits<$WEBCORE_CLASS_NAME > {
+public:
+ static DartWrapperTypeInfo* info() { return &Dart$INTERFACE::info; }
+};
+
namespace Dart$(INTERFACE)Internal {
$DECLARATIONS
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698