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

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

Issue 2669103003: Add Selection.toString() calling the native method (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Previous merge was a mistake, undoing Created 3 years, 10 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
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 logging 10 import logging
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 'IDBDatabase.transactionStore', 97 'IDBDatabase.transactionStore',
98 'IDBDatabase.transactionStores', 98 'IDBDatabase.transactionStores',
99 'KeyboardEvent.initKeyboardEvent', 99 'KeyboardEvent.initKeyboardEvent',
100 'Location.origin', 100 'Location.origin',
101 'Location.toString', 101 'Location.toString',
102 'MouseEvent.offsetX', 102 'MouseEvent.offsetX',
103 'MouseEvent.offsetY', 103 'MouseEvent.offsetY',
104 'Navigator.language', 104 'Navigator.language',
105 'Navigator.webkitGetUserMedia', 105 'Navigator.webkitGetUserMedia',
106 'ScriptProcessorNode._setEventListener', 106 'ScriptProcessorNode._setEventListener',
107 'Selection.toString',
107 'URL.createObjectURL', 108 'URL.createObjectURL',
108 'URL.createObjectUrlFromSource', 109 'URL.createObjectUrlFromSource',
109 'URL.createObjectUrlFromStream', 110 'URL.createObjectUrlFromStream',
110 'URL.createObjectUrlFromBlob', 111 'URL.createObjectUrlFromBlob',
111 'URL.revokeObjectURL', 112 'URL.revokeObjectURL',
112 'URL.toString', 113 'URL.toString',
113 'WheelEvent.deltaMode', 114 'WheelEvent.deltaMode',
114 'Window.cancelAnimationFrame', 115 'Window.cancelAnimationFrame',
115 'Window.console', 116 'Window.console',
116 'Window.document', 117 'Window.document',
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 1345
1345 def AddFile(self, basename, library_name, path): 1346 def AddFile(self, basename, library_name, path):
1346 self._libraries[library_name].AddFile(path) 1347 self._libraries[library_name].AddFile(path)
1347 1348
1348 def AddTypeEntry(self, library_name, idl_name, dart_name): 1349 def AddTypeEntry(self, library_name, idl_name, dart_name):
1349 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) 1350 self._libraries[library_name].AddTypeEntry(idl_name, dart_name)
1350 1351
1351 def Emit(self, emitter, auxiliary_dir): 1352 def Emit(self, emitter, auxiliary_dir):
1352 for lib in self._libraries.values(): 1353 for lib in self._libraries.values():
1353 lib.Emit(emitter, auxiliary_dir) 1354 lib.Emit(emitter, auxiliary_dir)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698