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

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

Issue 27223003: Deprecate query and queryAll, also add back querySelector and querySelectorAll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 85574eb506b994d99d9b2719c719bbeaff379838..168109575aad038480ac5db4b652af18b7b66301 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -190,7 +190,6 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'Document.createTouchList',
'Document.createTreeWalker',
'Document.querySelectorAll',
- 'DocumentFragment.querySelector',
'DocumentFragment.querySelectorAll',
# Moved to HTMLDocument.
@@ -338,14 +337,12 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'DirectoryEntry.getFile': '_getFile',
'Document.createCDATASection': 'createCDataSection',
'Document.defaultView': 'window',
- 'Document.querySelector': 'query',
'Window.CSS': 'css',
'Window.webkitConvertPointFromNodeToPage': '_convertPointFromNodeToPage',
'Window.webkitConvertPointFromPageToNode': '_convertPointFromPageToNode',
'Window.webkitNotifications': 'notifications',
'Window.webkitRequestFileSystem': '_requestFileSystem',
'Window.webkitResolveLocalFileSystemURL': 'resolveLocalFileSystemUrl',
- 'Element.querySelector': 'query',
'Element.webkitMatchesSelector' : 'matches',
'Navigator.webkitGetUserMedia': '_getUserMedia',
'Node.appendChild': 'append',

Powered by Google App Engine
This is Rietveld 408576698