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

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

Issue 291843006: Fix Path (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | no next file » | 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 systems to generate 6 """This module provides shared functionality for the systems to generate
7 native binding from the IDL database.""" 7 native binding from the IDL database."""
8 8
9 import emitter 9 import emitter
10 import os 10 import os
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 _blink_1916_rename_map = { 162 _blink_1916_rename_map = {
163 'NavigatorID': 'Navigator', 163 'NavigatorID': 'Navigator',
164 'CanvasRenderingContext' : 'CanvasRenderingContext2D', 164 'CanvasRenderingContext' : 'CanvasRenderingContext2D',
165 'Clipboard': 'DataTransfer', 165 'Clipboard': 'DataTransfer',
166 'Player': 'AnimationPlayer', 166 'Player': 'AnimationPlayer',
167 'Algorithm': 'KeyAlgorithm', 167 'Algorithm': 'KeyAlgorithm',
168 'any': 'ScriptValue', 168 'any': 'ScriptValue',
169 'URLUtils': 'URL', 169 'URLUtils': 'URL',
170 'URLUtilsReadOnly': 'WorkerLocation' 170 'URLUtilsReadOnly': 'WorkerLocation',
171 'Path': 'Path2D'
171 } 172 }
172 173
173 _cpp_partial_map = {} 174 _cpp_partial_map = {}
174 175
175 _cpp_no_auto_scope_list = set([ 176 _cpp_no_auto_scope_list = set([
176 ('Document', 'body', 'Getter'), 177 ('Document', 'body', 'Getter'),
177 ('Document', 'getElementById', 'Callback'), 178 ('Document', 'getElementById', 'Callback'),
178 ('Document', 'getElementsByName', 'Callback'), 179 ('Document', 'getElementsByName', 'Callback'),
179 ('Document', 'getElementsByTagName', 'Callback'), 180 ('Document', 'getElementsByTagName', 'Callback'),
180 ('Element', 'getAttribute', 'Callback'), 181 ('Element', 'getAttribute', 'Callback'),
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1994 e.Emit("};\n"); 1995 e.Emit("};\n");
1995 e.Emit('\n'); 1996 e.Emit('\n');
1996 e.Emit('} // namespace WebCore\n'); 1997 e.Emit('} // namespace WebCore\n');
1997 1998
1998 def _IsOptionalStringArgumentInInitEventMethod(interface, operation, argument): 1999 def _IsOptionalStringArgumentInInitEventMethod(interface, operation, argument):
1999 return ( 2000 return (
2000 interface.id.endswith('Event') and 2001 interface.id.endswith('Event') and
2001 operation.id.startswith('init') and 2002 operation.id.startswith('init') and
2002 argument.ext_attrs.get('Default') == 'Undefined' and 2003 argument.ext_attrs.get('Default') == 'Undefined' and
2003 argument.type.id == 'DOMString') 2004 argument.type.id == 'DOMString')
OLDNEW
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698