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

Side by Side Diff: sdk/lib/html/scripts/htmlrenamer.py

Issue 11358253: Removing the Window.clientInformation property as it's an IE legacy version of Window.navigator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 html_interface_renames = { 6 html_interface_renames = {
7 'DOMCoreException': 'DOMException', 7 'DOMCoreException': 'DOMException',
8 'DOMFormData': 'FormData', 8 'DOMFormData': 'FormData',
9 'DOMURL': 'Url', 9 'DOMURL': 'Url',
10 'DOMWindow': 'LocalWindow', 10 'DOMWindow': 'LocalWindow',
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 "Node.get:prefix", 253 "Node.get:prefix",
254 "Node.set:prefix", 254 "Node.set:prefix",
255 "Node.get:DOCUMENT_POSITION_PRECEDING", 255 "Node.get:DOCUMENT_POSITION_PRECEDING",
256 "Node.get:nodeValue", 256 "Node.get:nodeValue",
257 "Node.set:nodeValue", 257 "Node.set:nodeValue",
258 "Node.get:CDATA_SECTION_NODE", 258 "Node.get:CDATA_SECTION_NODE",
259 "Node.get:nodeName", 259 "Node.get:nodeName",
260 "Node.lookupPrefix", 260 "Node.lookupPrefix",
261 "Node.get:PROCESSING_INSTRUCTION_NODE", 261 "Node.get:PROCESSING_INSTRUCTION_NODE",
262 'ShadowRoot.getElementsByTagNameNS', 262 'ShadowRoot.getElementsByTagNameNS',
263 "LocalWindow.clientInformation",
263 "LocalWindow.get:frames", 264 "LocalWindow.get:frames",
264 "LocalWindow.get:length", 265 "LocalWindow.get:length",
265 "LocalWindow.prompt", 266 "LocalWindow.prompt",
266 "LocalWindow.webkitCancelRequestAnimationFrame", 267 "LocalWindow.webkitCancelRequestAnimationFrame",
267 "WheelEvent.wheelDelta", 268 "WheelEvent.wheelDelta",
268 ]) 269 ])
269 270
270 class HtmlRenamer(object): 271 class HtmlRenamer(object):
271 def __init__(self, database): 272 def __init__(self, database):
272 self._database = database 273 self._database = database
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 if member_name in candidates: 309 if member_name in candidates:
309 return member_name 310 return member_name
310 member_name = html_interface_name + '.' + member_prefix + member 311 member_name = html_interface_name + '.' + member_prefix + member
311 if member_name in candidates: 312 if member_name in candidates:
312 return member_name 313 return member_name
313 314
314 def GetLibraryName(self, interface): 315 def GetLibraryName(self, interface):
315 if interface.id.startswith('SVG'): 316 if interface.id.startswith('SVG'):
316 return 'svg' 317 return 'svg'
317 return 'html' 318 return 'html'
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698