| OLD | NEW |
| 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 from systemfrog import * | 9 from systemfrog import * |
| 10 from systeminterface import * | 10 from systeminterface import * |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 'waiting': 'waiting', | 441 'waiting': 'waiting', |
| 442 'webkitAnimationEnd': 'animationEnd', | 442 'webkitAnimationEnd': 'animationEnd', |
| 443 'webkitAnimationIteration': 'animationIteration', | 443 'webkitAnimationIteration': 'animationIteration', |
| 444 'webkitAnimationStart': 'animationStart', | 444 'webkitAnimationStart': 'animationStart', |
| 445 'webkitfullscreenchange': 'fullscreenChange', | 445 'webkitfullscreenchange': 'fullscreenChange', |
| 446 'webkitfullscreenerror': 'fullscreenError', | 446 'webkitfullscreenerror': 'fullscreenError', |
| 447 'webkitkeyadded': 'keyAdded', | 447 'webkitkeyadded': 'keyAdded', |
| 448 'webkitkeyerror': 'keyError', | 448 'webkitkeyerror': 'keyError', |
| 449 'webkitkeymessage': 'keyMessage', | 449 'webkitkeymessage': 'keyMessage', |
| 450 'webkitneedkey': 'needKey', | 450 'webkitneedkey': 'needKey', |
| 451 'webkitpointerlockchange': 'pointerLockChange', |
| 452 'webkitpointerlockerror': 'pointerLockError', |
| 451 'webkitSpeechChange': 'speechChange', | 453 'webkitSpeechChange': 'speechChange', |
| 452 'webkitsourceclose': 'sourceClose', | 454 'webkitsourceclose': 'sourceClose', |
| 453 'webkitsourceended': 'sourceEnded', | 455 'webkitsourceended': 'sourceEnded', |
| 454 'webkitsourceopen': 'sourceOpen', | 456 'webkitsourceopen': 'sourceOpen', |
| 455 'webkitTransitionEnd': 'transitionEnd', | 457 'webkitTransitionEnd': 'transitionEnd', |
| 456 'write': 'write', | 458 'write': 'write', |
| 457 'writeend': 'writeEnd', | 459 'writeend': 'writeEnd', |
| 458 'writestart': 'writeStart' | 460 'writestart': 'writeStart' |
| 459 } | 461 } |
| 460 | 462 |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 Collect(database.GetInterface(parent.type.id), | 1454 Collect(database.GetInterface(parent.type.id), |
| 1453 seen, collected) | 1455 seen, collected) |
| 1454 | 1456 |
| 1455 inheritance_closure = {} | 1457 inheritance_closure = {} |
| 1456 for interface in database.GetInterfaces(): | 1458 for interface in database.GetInterfaces(): |
| 1457 seen = set() | 1459 seen = set() |
| 1458 collected = [] | 1460 collected = [] |
| 1459 Collect(interface, seen, collected) | 1461 Collect(interface, seen, collected) |
| 1460 inheritance_closure[interface.id] = collected | 1462 inheritance_closure[interface.id] = collected |
| 1461 return inheritance_closure | 1463 return inheritance_closure |
| OLD | NEW |