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

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

Issue 10823352: Rename XMLHttpRequest to HttpRequest. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « no previous file | lib/dom/src/_HttpRequestUtils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/htmlrenamer.py
===================================================================
--- lib/dom/scripts/htmlrenamer.py (revision 10850)
+++ lib/dom/scripts/htmlrenamer.py (working copy)
@@ -278,6 +278,8 @@
return stripped_name
elif interface.id == 'DOMWindow':
return 'Window'
+ elif interface.id.startswith('XML') and interface.id != 'XMLSerializer':
sra1 2012/08/16 19:10:33 I'd much prefer an explicit test. We are really ch
Emily Fortuna 2012/08/16 20:11:24 Done.
+ return interface.id[len('XML'):]
return interface.id
def RenameMember(self, interface_name, member, member_prefix=''):
« no previous file with comments | « no previous file | lib/dom/src/_HttpRequestUtils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698