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

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

Issue 10698108: Stop passing HtmlSystemShared around and move html renaming to IDLTypeInfo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
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 providesfunctionality for systems to generate 6 """This module providesfunctionality for systems to generate
7 Dart interfaces from the IDL database.""" 7 Dart interfaces from the IDL database."""
8 8
9 import os 9 import os
10 import systembase 10 import systembase
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 (getter, setter)) 189 (getter, setter))
190 190
191 def AddOperation(self, info): 191 def AddOperation(self, info):
192 """ 192 """
193 Arguments: 193 Arguments:
194 operations - contains the overloads, one or more operations with the same 194 operations - contains the overloads, one or more operations with the same
195 name. 195 name.
196 """ 196 """
197 self._members_emitter.Emit('\n' 197 self._members_emitter.Emit('\n'
198 ' $TYPE $NAME($PARAMS);\n', 198 ' $TYPE $NAME($PARAMS);\n',
199 TYPE=info.type_name, 199 TYPE=DartType(info.type_name),
200 NAME=info.name, 200 NAME=info.name,
201 PARAMS=info.ParametersInterfaceDeclaration()) 201 PARAMS=info.ParametersInterfaceDeclaration())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698