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

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

Issue 11419294: Use language or userlanguage (IE) depending on what's defined in the browser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove parens from getter! Created 8 years 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 11 matching lines...) Expand all
22 'Element.insertAdjacentText', 22 'Element.insertAdjacentText',
23 'Element.remove', 23 'Element.remove',
24 'ElementEvents.mouseWheel', 24 'ElementEvents.mouseWheel',
25 'HTMLCanvasElement.getContext', 25 'HTMLCanvasElement.getContext',
26 'HTMLSelectElement.options', 26 'HTMLSelectElement.options',
27 'HTMLSelectElement.selectedOptions', 27 'HTMLSelectElement.selectedOptions',
28 'HTMLTableElement.createTBody', 28 'HTMLTableElement.createTBody',
29 'IDBDatabase.transaction', 29 'IDBDatabase.transaction',
30 'MouseEvent.offsetX', 30 'MouseEvent.offsetX',
31 'MouseEvent.offsetY', 31 'MouseEvent.offsetY',
32 'Navigator.language',
32 'URL.createObjectURL', 33 'URL.createObjectURL',
33 'URL.revokeObjectURL', 34 'URL.revokeObjectURL',
34 'WheelEvent.wheelDeltaX', 35 'WheelEvent.wheelDeltaX',
35 'WheelEvent.wheelDeltaY', 36 'WheelEvent.wheelDeltaY',
36 'Window.cancelAnimationFrame', 37 'Window.cancelAnimationFrame',
37 'Window.document', 38 'Window.document',
38 'Window.indexedDB', 39 'Window.indexedDB',
39 'Window.location', 40 'Window.location',
40 'Window.open', 41 'Window.open',
41 'Window.requestAnimationFrame', 42 'Window.requestAnimationFrame',
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 for library_name in libraries: 982 for library_name in libraries:
982 self._libraries[library_name] = DartLibrary( 983 self._libraries[library_name] = DartLibrary(
983 library_name, template_loader, library_type, output_dir) 984 library_name, template_loader, library_type, output_dir)
984 985
985 def AddFile(self, basename, library_name, path): 986 def AddFile(self, basename, library_name, path):
986 self._libraries[library_name].AddFile(path) 987 self._libraries[library_name].AddFile(path)
987 988
988 def Emit(self, emitter, auxiliary_dir): 989 def Emit(self, emitter, auxiliary_dir):
989 for lib in self._libraries.values(): 990 for lib in self._libraries.values():
990 lib.Emit(emitter, auxiliary_dir) 991 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/templates/html/dart2js/impl_Navigator.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698