| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 189     "Element.outerText", | 189     "Element.outerText", | 
| 190     "Element.accessKey", | 190     "Element.accessKey", | 
| 191     "Element.get:itemType", | 191     "Element.get:itemType", | 
| 192     "Element.innerText", | 192     "Element.innerText", | 
| 193     "Element.set:outerHTML", | 193     "Element.set:outerHTML", | 
| 194     "Element.itemScope", | 194     "Element.itemScope", | 
| 195     "Element.itemValue", | 195     "Element.itemValue", | 
| 196     "Element.itemId", | 196     "Element.itemId", | 
| 197     "Element.get:itemProp", | 197     "Element.get:itemProp", | 
| 198     'Element.scrollIntoView', | 198     'Element.scrollIntoView', | 
|  | 199     'Element.get:classList', | 
| 199     "EmbedElement.getSVGDocument", | 200     "EmbedElement.getSVGDocument", | 
| 200     "FormElement.get:elements", | 201     "FormElement.get:elements", | 
| 201     "HTMLFrameElement.*", | 202     "HTMLFrameElement.*", | 
| 202     "HTMLFrameSetElement.*", | 203     "HTMLFrameSetElement.*", | 
| 203     "HtmlElement.version", | 204     "HtmlElement.version", | 
| 204     "HtmlElement.manifest", | 205     "HtmlElement.manifest", | 
| 205     "Document.version", | 206     "Document.version", | 
| 206     "Document.manifest", | 207     "Document.manifest", | 
| 207 #    "IFrameElement.getSVGDocument",  #TODO(jacobr): should this be removed | 208 #    "IFrameElement.getSVGDocument",  #TODO(jacobr): should this be removed | 
| 208     "InputElement.dirName", | 209     "InputElement.dirName", | 
| (...skipping 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1766     # dispatch has removed f(X), leaving only f(Y), but there is no guarantee | 1767     # dispatch has removed f(X), leaving only f(Y), but there is no guarantee | 
| 1767     # that Y = Z-X, so we need to check for Y. | 1768     # that Y = Z-X, so we need to check for Y. | 
| 1768     true_code = emitter.Emit( | 1769     true_code = emitter.Emit( | 
| 1769         '$(INDENT)if ($COND) {\n' | 1770         '$(INDENT)if ($COND) {\n' | 
| 1770         '$!TRUE' | 1771         '$!TRUE' | 
| 1771         '$(INDENT)}\n', | 1772         '$(INDENT)}\n', | 
| 1772         COND=test, INDENT=indent) | 1773         COND=test, INDENT=indent) | 
| 1773     self.GenerateDispatch( | 1774     self.GenerateDispatch( | 
| 1774         true_code, info, indent + '  ', position + 1, positive) | 1775         true_code, info, indent + '  ', position + 1, positive) | 
| 1775     return True | 1776     return True | 
| OLD | NEW | 
|---|