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

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

Issue 15820013: Fixing type of ApplicationCache.onProgress. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/html/dartium/html_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 functionality to generate dart:html event classes.""" 6 """This module provides functionality to generate dart:html event classes."""
7 7
8 import logging 8 import logging
9 import monitored 9 import monitored
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 '*.webkitTransitionEnd': ('transitionEnd', 'TransitionEvent'), 111 '*.webkitTransitionEnd': ('transitionEnd', 'TransitionEvent'),
112 '*.webkitfullscreenchange': ('fullscreenChange', 'Event'), 112 '*.webkitfullscreenchange': ('fullscreenChange', 'Event'),
113 '*.webkitfullscreenerror': ('fullscreenError', 'Event'), 113 '*.webkitfullscreenerror': ('fullscreenError', 'Event'),
114 'AbstractWorker.error': ('error', 'ErrorEvent'), 114 'AbstractWorker.error': ('error', 'ErrorEvent'),
115 'AudioContext.complete': ('complete', 'Event'), 115 'AudioContext.complete': ('complete', 'Event'),
116 'DOMApplicationCache.cached': ('cached', 'Event'), 116 'DOMApplicationCache.cached': ('cached', 'Event'),
117 'DOMApplicationCache.checking': ('checking', 'Event'), 117 'DOMApplicationCache.checking': ('checking', 'Event'),
118 'DOMApplicationCache.downloading': ('downloading', 'Event'), 118 'DOMApplicationCache.downloading': ('downloading', 'Event'),
119 'DOMApplicationCache.noupdate': ('noUpdate', 'Event'), 119 'DOMApplicationCache.noupdate': ('noUpdate', 'Event'),
120 'DOMApplicationCache.obsolete': ('obsolete', 'Event'), 120 'DOMApplicationCache.obsolete': ('obsolete', 'Event'),
121 'DOMApplicationCache.progress': ('progress', 'Event'), 121 'DOMApplicationCache.progress': ('progress', 'ProgressEvent'),
122 'DOMApplicationCache.updateready': ('updateReady', 'Event'), 122 'DOMApplicationCache.updateready': ('updateReady', 'Event'),
123 'Document.readystatechange': ('readyStateChange', 'Event'), 123 'Document.readystatechange': ('readyStateChange', 'Event'),
124 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'), 124 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'),
125 'Document.selectionchange': ('selectionChange', 'Event'), 125 'Document.selectionchange': ('selectionChange', 'Event'),
126 'Document.webkitpointerlockchange': ('pointerLockChange', 'Event'), 126 'Document.webkitpointerlockchange': ('pointerLockChange', 'Event'),
127 'Document.webkitpointerlockerror': ('pointerLockError', 'Event'), 127 'Document.webkitpointerlockerror': ('pointerLockError', 'Event'),
128 'EventSource.open': ('open', 'Event'), 128 'EventSource.open': ('open', 'Event'),
129 'FileReader.abort': ('abort', 'ProgressEvent'), 129 'FileReader.abort': ('abort', 'ProgressEvent'),
130 'FileReader.load': ('load', 'ProgressEvent'), 130 'FileReader.load': ('load', 'ProgressEvent'),
131 'FileReader.loadend': ('loadEnd', 'ProgressEvent'), 131 'FileReader.loadend': ('loadEnd', 'ProgressEvent'),
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 """ 362 """
363 key = '%s.%s' % (html_interface_name, dom_event_name) 363 key = '%s.%s' % (html_interface_name, dom_event_name)
364 if key in _html_event_types: 364 if key in _html_event_types:
365 return _html_event_types[key] 365 return _html_event_types[key]
366 key = '*.%s' % dom_event_name 366 key = '*.%s' % dom_event_name
367 if key in _html_event_types: 367 if key in _html_event_types:
368 return _html_event_types[key] 368 return _html_event_types[key]
369 _logger.warn('Cannot resolve event type for %s.%s' % 369 _logger.warn('Cannot resolve event type for %s.%s' %
370 (html_interface_name, dom_event_name)) 370 (html_interface_name, dom_event_name))
371 return None 371 return None
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698