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

Side by Side Diff: tools/dom/scripts/systemhtml.py

Issue 14646032: Fixing Location.origin to work on non-WebKit browsers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
« no previous file with comments | « tests/html/location_test.dart ('k') | tools/dom/src/dart2js_LocationWrapper.dart » ('j') | 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 """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 monitored 10 import monitored
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'Element.insertAdjacentHTML', 48 'Element.insertAdjacentHTML',
49 'Element.insertAdjacentText', 49 'Element.insertAdjacentText',
50 'Element.webkitMatchesSelector', 50 'Element.webkitMatchesSelector',
51 'Element.remove', 51 'Element.remove',
52 'ElementEvents.mouseWheel', 52 'ElementEvents.mouseWheel',
53 'ElementEvents.transitionEnd', 53 'ElementEvents.transitionEnd',
54 'DOMException.name', 54 'DOMException.name',
55 'HTMLTableElement.createTBody', 55 'HTMLTableElement.createTBody',
56 'IDBDatabase.transaction', 56 'IDBDatabase.transaction',
57 'KeyboardEvent.initKeyboardEvent', 57 'KeyboardEvent.initKeyboardEvent',
58 'Location.origin',
58 'MouseEvent.offsetX', 59 'MouseEvent.offsetX',
59 'MouseEvent.offsetY', 60 'MouseEvent.offsetY',
60 'Navigator.language', 61 'Navigator.language',
61 'Navigator.webkitGetUserMedia', 62 'Navigator.webkitGetUserMedia',
62 'ScriptProcessorNode._setEventListener', 63 'ScriptProcessorNode._setEventListener',
63 'URL.createObjectURL', 64 'URL.createObjectURL',
64 'URL.revokeObjectURL', 65 'URL.revokeObjectURL',
65 'WheelEvent.deltaMode', 66 'WheelEvent.deltaMode',
66 'WheelEvent.wheelDeltaX', 67 'WheelEvent.wheelDeltaX',
67 'WheelEvent.wheelDeltaY', 68 'WheelEvent.wheelDeltaY',
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 for library_name in libraries: 1157 for library_name in libraries:
1157 self._libraries[library_name] = DartLibrary( 1158 self._libraries[library_name] = DartLibrary(
1158 library_name, template_loader, library_type, output_dir) 1159 library_name, template_loader, library_type, output_dir)
1159 1160
1160 def AddFile(self, basename, library_name, path): 1161 def AddFile(self, basename, library_name, path):
1161 self._libraries[library_name].AddFile(path) 1162 self._libraries[library_name].AddFile(path)
1162 1163
1163 def Emit(self, emitter, auxiliary_dir): 1164 def Emit(self, emitter, auxiliary_dir):
1164 for lib in self._libraries.values(): 1165 for lib in self._libraries.values():
1165 lib.Emit(emitter, auxiliary_dir) 1166 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « tests/html/location_test.dart ('k') | tools/dom/src/dart2js_LocationWrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698