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

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

Issue 11665030: Fixing Element.matches to be cross-platform and follow latest spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding experimental annotation. 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 unified diff | Download patch | Annotate | Revision Log
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 """This module provides shared functionality for the system to generate 6 """This module provides shared functionality for the system to generate
7 Dart:html APIs from the IDL database.""" 7 Dart:html APIs from the IDL database."""
8 8
9 import emitter 9 import emitter
10 import os 10 import os
(...skipping 23 matching lines...) Expand all
34 'Console.profileEnd', 34 'Console.profileEnd',
35 'Console.time', 35 'Console.time',
36 'Console.timeEnd', 36 'Console.timeEnd',
37 'Console.timeStamp', 37 'Console.timeStamp',
38 'Console.trace', 38 'Console.trace',
39 'Console.warn', 39 'Console.warn',
40 'CSSStyleDeclaration.setProperty', 40 'CSSStyleDeclaration.setProperty',
41 'Element.insertAdjacentElement', 41 'Element.insertAdjacentElement',
42 'Element.insertAdjacentHTML', 42 'Element.insertAdjacentHTML',
43 'Element.insertAdjacentText', 43 'Element.insertAdjacentText',
44 'Element.webkitMatchesSelector',
44 'Element.remove', 45 'Element.remove',
45 'ElementEvents.mouseWheel', 46 'ElementEvents.mouseWheel',
46 'HTMLCanvasElement.getContext', 47 'HTMLCanvasElement.getContext',
47 'HTMLTableElement.createTBody', 48 'HTMLTableElement.createTBody',
48 'IDBDatabase.transaction', 49 'IDBDatabase.transaction',
49 'KeyboardEvent.initKeyboardEvent', 50 'KeyboardEvent.initKeyboardEvent',
50 'MouseEvent.offsetX', 51 'MouseEvent.offsetX',
51 'MouseEvent.offsetY', 52 'MouseEvent.offsetY',
52 'Navigator.language', 53 'Navigator.language',
53 'URL.createObjectURL', 54 'URL.createObjectURL',
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 for library_name in libraries: 1009 for library_name in libraries:
1009 self._libraries[library_name] = DartLibrary( 1010 self._libraries[library_name] = DartLibrary(
1010 library_name, template_loader, library_type, output_dir) 1011 library_name, template_loader, library_type, output_dir)
1011 1012
1012 def AddFile(self, basename, library_name, path): 1013 def AddFile(self, basename, library_name, path):
1013 self._libraries[library_name].AddFile(path) 1014 self._libraries[library_name].AddFile(path)
1014 1015
1015 def Emit(self, emitter, auxiliary_dir): 1016 def Emit(self, emitter, auxiliary_dir):
1016 for lib in self._libraries.values(): 1017 for lib in self._libraries.values():
1017 lib.Emit(emitter, auxiliary_dir) 1018 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « sdk/lib/html/scripts/htmlrenamer.py ('k') | sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698