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

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

Issue 12220099: Remove Webkit prefix from all members and make experimental. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/indexed_db/dartium/indexed_db_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/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index 7ad4e5165a1b2dd33f48c7adc759fc4127f2f8f2..067a3e7fba9478c703f48690c83fd69e38ca09f6 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -10,7 +10,7 @@ import copy
import json
import os
import re
-from htmlrenamer import html_interface_renames
+from htmlrenamer import html_interface_renames, renamed_html_members
# Set up json file for retrieving comments.
_current_dir = os.path.dirname(__file__)
@@ -897,6 +897,10 @@ def FindCommonAnnotations(library_name, interface_name, member_name=None):
if (dart_annotations.get(key) != None):
annotations.extend(dart_annotations.get(key))
+ if (member_name and member_name.startswith('webkit') and
+ key not in renamed_html_members):
+ annotations.extend(_webkit_experimental_annotations)
+
return annotations
def FindDart2JSAnnotationsAndComments(idl_type, library_name, interface_name,
« no previous file with comments | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698