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

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

Issue 10883070: Implementing polyfills for insertAdjacent* to get them working on FF. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « no previous file | lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('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 10
11 from systemdart2js import * 11 from systemdart2js import *
12 from systeminterface import * 12 from systeminterface import *
13 13
14 _js_custom_members = set([ 14 _js_custom_members = set([
15 'Element.insertAdjacentElement',
16 'Element.insertAdjacentHTML',
17 'Element.insertAdjacentText',
15 'IDBDatabase.transaction', 18 'IDBDatabase.transaction',
16 'IFrameElement.contentWindow', 19 'IFrameElement.contentWindow',
17 'MouseEvent.offsetX', 20 'MouseEvent.offsetX',
18 'MouseEvent.offsetY', 21 'MouseEvent.offsetY',
19 'Window.document', 22 'Window.document',
20 'Window.top', 23 'Window.top',
21 'Window.location', 24 'Window.location',
22 'Window.open', 25 'Window.open',
23 ]) 26 ])
24 27
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 return HtmlDart2JSClassGenerator(self, interface) 1230 return HtmlDart2JSClassGenerator(self, interface)
1228 1231
1229 def GenerateLibraries(self, dart_files): 1232 def GenerateLibraries(self, dart_files):
1230 self._GenerateLibFile( 1233 self._GenerateLibFile(
1231 'html_dart2js.darttemplate', 1234 'html_dart2js.darttemplate',
1232 os.path.join(self._output_dir, 'html_dart2js.dart'), 1235 os.path.join(self._output_dir, 'html_dart2js.dart'),
1233 dart_files) 1236 dart_files)
1234 1237
1235 def Finish(self): 1238 def Finish(self):
1236 pass 1239 pass
OLDNEW
« no previous file with comments | « no previous file | lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698