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

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

Issue 12163009: Remove webkit prefix and annotate with experimental tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 408147ead6b1d226acbe283e8c684ff5b82f794c..448b1f8e6fe19ca2ef9a267534c67855ca83dcfc 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, webkit_member_prefix_renames
# Set up json file for retrieving comments.
_current_dir = os.path.dirname(__file__)
@@ -892,6 +892,9 @@ def FindCommonAnnotations(library_name, interface_name, member_name=None):
if (dart_annotations.get(key) != None):
annotations.extend(dart_annotations.get(key))
+ if key in webkit_member_prefix_renames:
blois 2013/02/02 21:36:59 Seems a little fragile to rely on the renamer putt
+ 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