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

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

Issue 12851013: Adding web_gl library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index a94f70035045bc5e08a6840c2f0b3ff8d84db09f..069c9d6a64c3eb09324be32db40024584b0dace8 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -689,6 +689,8 @@ class HtmlRenamer(object):
return 'indexed_db'
if 'SQL_DATABASE' in interface.ext_attrs['Conditional']:
return 'web_sql'
+ if 'WEBGL' in interface.ext_attrs['Conditional']:
+ return 'web_gl'
return 'html'
@@ -701,6 +703,7 @@ class HtmlRenamer(object):
# Strip off any standard prefixes.
name = re.sub(r'^SVG', '', type_name)
name = re.sub(r'^IDB', '', name)
+ name = re.sub(r'^WebGL', '', name)
return self._CamelCaseName(name)

Powered by Google App Engine
This is Rietveld 408576698