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

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

Issue 9433061: Remove duplicate of SystemInterface (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « client/dom/scripts/systembase.py ('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 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
10 import systembase
9 from generator import * 11 from generator import *
10 from systembase import *
11 12
12 class InterfacesSystem(System): 13 class InterfacesSystem(systembase.System):
13 14
14 def __init__(self, templates, database, emitters, output_dir): 15 def __init__(self, templates, database, emitters, output_dir):
15 super(InterfacesSystem, self).__init__( 16 super(InterfacesSystem, self).__init__(
16 templates, database, emitters, output_dir) 17 templates, database, emitters, output_dir)
17 self._dart_interface_file_paths = [] 18 self._dart_interface_file_paths = []
18 19
19 20
20 def InterfaceGenerator(self, 21 def InterfaceGenerator(self,
21 interface, 22 interface,
22 common_prefix, 23 common_prefix,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 194
194 # Interfaces get secondary members directly via the superinterfaces. 195 # Interfaces get secondary members directly via the superinterfaces.
195 def AddSecondaryAttribute(self, interface, getter, setter): 196 def AddSecondaryAttribute(self, interface, getter, setter):
196 pass 197 pass
197 198
198 def AddSecondaryOperation(self, interface, attr): 199 def AddSecondaryOperation(self, interface, attr):
199 pass 200 pass
200 201
201 def AddEventAttributes(self, event_attrs): 202 def AddEventAttributes(self, event_attrs):
202 pass 203 pass
OLDNEW
« no previous file with comments | « client/dom/scripts/systembase.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698