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

Unified Diff: bindings/dart/gyp/scripts/massage_factories.py

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
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
Index: bindings/dart/gyp/scripts/massage_factories.py
diff --git a/bindings/dart/gyp/scripts/massage_factories.py b/bindings/dart/gyp/scripts/massage_factories.py
index 9902e78b3a7ee3cc14e5003eb20f5a9f0e7ca3ec..615371bb5159e1de059461f32c869e7bc82f1c27 100644
--- a/bindings/dart/gyp/scripts/massage_factories.py
+++ b/bindings/dart/gyp/scripts/massage_factories.py
@@ -79,9 +79,6 @@ def main(args):
r'return V8%sElement::createWrapper\(element, creationContext, isolate\);' % tag),
r'return DartDOMWrapper::toDart<Dart%sElement>(element);' % tag),
(re.compile(
- r'return V8HTMLCustomElement::wrap\(element, creationContext, isolate\);'),
- r'return DartHTMLCustomElement::toDart(element);'),
- (re.compile(
r'return createV8HTMLFallbackWrapper\(toHTMLUnknownElement\(element\), creationContext, isolate\);'),
r'return DartHTMLUnknownElement::toDart(toHTMLUnknownElement(element));'),
(re.compile(
@@ -91,6 +88,17 @@ def main(args):
(re.compile(r', v8::Isolate\*( isolate)?'), ''),
(re.compile(r', v8::Handle<v8::Object> creationContext'), ''),
(re.compile(r'v8::Handle<v8::Object>'), 'Dart_Handle'),
+ (re.compile(r'findSVGTagNameOfV8Type'), 'findSVGTagNameOfDartType'),
+ (re.compile(r'findHTMLTagNameOfV8Type'), 'findHTMLTagNameOfDartType'),
+ (re.compile(r'V8CustomElement'), 'DartCustomElement'),
+ (re.compile(r'WrapperTypeInfo'), 'DartWrapperTypeInfo'),
+ (re.compile(r'WrapperTypeTraits'), 'DartWrapperTypeTraits'),
+ (re.compile(
+ r'return DartCustomElement::wrap\(element, creationContext, constructor, isolate\);'),
+ r'return DartCustomElement::toDart(element, constructor);'),
+ (re.compile(
+ r'return wrap\(toHTMLUnknownElement\(element\), creationContext, isolate\);'),
+ r'return DartHTMLUnknownElement::toDart(toHTMLUnknownElement(element));'),
])
return 0

Powered by Google App Engine
This is Rietveld 408576698