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

Unified Diff: lib/dom/templates/dom/native/cpp_header.template

Issue 10741002: Replace 'NativeTraits' typedef with 'isNode', 'isActive', and 'isEventTarget' static boolean fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
« lib/dom/scripts/systemnative.py ('K') | « lib/dom/scripts/systemnative.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/dom/native/cpp_header.template
diff --git a/lib/dom/templates/dom/native/cpp_header.template b/lib/dom/templates/dom/native/cpp_header.template
index c5903dd47e27deff6485d3378232a5c66c9a6a02..3c1cb5c0d7b38235f50dac2e7dd8fed43a742235 100644
--- a/lib/dom/templates/dom/native/cpp_header.template
+++ b/lib/dom/templates/dom/native/cpp_header.template
@@ -16,7 +16,9 @@ namespace WebCore {
struct Dart$INTERFACE {
static const char* const dartImplementationClassName;
typedef $WEBCORE_CLASS_NAME NativeType;
- typedef $NATIVE_TRAITS_TYPE NativeTraits;
+ static const bool isNode = $IS_NODE;
+ static const bool isActive = $IS_ACTIVE;
+ static const bool isEventTarget = $IS_EVENT_TARGET;
$TO_NATIVE
$TO_DART
« lib/dom/scripts/systemnative.py ('K') | « lib/dom/scripts/systemnative.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698