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

Unified Diff: tools/dom/scripts/dartmetadata.py

Issue 14855011: Cleanup of DOM classname generation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/dartmetadata.py
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py
index ddb441c9e15f3ae3ca3927e06d49543683eb3b53..3a10a55c153d200379f102b83e2d7d63988ddc60 100644
--- a/tools/dom/scripts/dartmetadata.py
+++ b/tools/dom/scripts/dartmetadata.py
@@ -14,7 +14,7 @@ import monitored
import os
import re
from generator import ConstantOutputOrder
-from htmlrenamer import renamed_html_members
+from htmlrenamer import renamed_html_members, html_interface_renames
_logger = logging.getLogger('DartMetadata')
@@ -445,6 +445,10 @@ class DartMetadata(object):
if key in _annotations:
annotations.extend(_annotations[key])
+ if (not member_name and interface_name.startswith('WebKit') and
+ interface_name not in html_interface_renames):
+ annotations.extend(_webkit_experimental_annotations)
+
if (member_name and member_name.startswith('webkit') and
key not in renamed_html_members):
annotations.extend(_webkit_experimental_annotations)
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698