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

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

Issue 23829002: Checkpoint in changes to match push (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ready for review Created 7 years, 3 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 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 '*.volumechange': ('volumeChange', 'Event'), 108 '*.volumechange': ('volumeChange', 'Event'),
109 '*.waiting': ('waiting', 'Event'), 109 '*.waiting': ('waiting', 'Event'),
110 '*.webkitAnimationEnd': ('animationEnd', 'AnimationEvent'), 110 '*.webkitAnimationEnd': ('animationEnd', 'AnimationEvent'),
111 '*.webkitAnimationIteration': ('animationIteration', 'AnimationEvent'), 111 '*.webkitAnimationIteration': ('animationIteration', 'AnimationEvent'),
112 '*.webkitAnimationStart': ('animationStart', 'AnimationEvent'), 112 '*.webkitAnimationStart': ('animationStart', 'AnimationEvent'),
113 '*.transitionend': ('transitionEnd', 'TransitionEvent'), 113 '*.transitionend': ('transitionEnd', 'TransitionEvent'),
114 '*.webkitfullscreenchange': ('fullscreenChange', 'Event'), 114 '*.webkitfullscreenchange': ('fullscreenChange', 'Event'),
115 '*.webkitfullscreenerror': ('fullscreenError', 'Event'), 115 '*.webkitfullscreenerror': ('fullscreenError', 'Event'),
116 'AbstractWorker.error': ('error', 'ErrorEvent'), 116 'AbstractWorker.error': ('error', 'ErrorEvent'),
117 'AudioContext.complete': ('complete', 'Event'), 117 'AudioContext.complete': ('complete', 'Event'),
118 'DOMApplicationCache.cached': ('cached', 'Event'), 118 'ApplicationCache.cached': ('cached', 'Event'),
119 'DOMApplicationCache.checking': ('checking', 'Event'), 119 'ApplicationCache.checking': ('checking', 'Event'),
120 'DOMApplicationCache.downloading': ('downloading', 'Event'), 120 'ApplicationCache.downloading': ('downloading', 'Event'),
121 'DOMApplicationCache.noupdate': ('noUpdate', 'Event'), 121 'ApplicationCache.noupdate': ('noUpdate', 'Event'),
122 'DOMApplicationCache.obsolete': ('obsolete', 'Event'), 122 'ApplicationCache.obsolete': ('obsolete', 'Event'),
123 'DOMApplicationCache.progress': ('progress', 'ProgressEvent'), 123 'ApplicationCache.progress': ('progress', 'ProgressEvent'),
124 'DOMApplicationCache.updateready': ('updateReady', 'Event'), 124 'ApplicationCache.updateready': ('updateReady', 'Event'),
125 'Document.readystatechange': ('readyStateChange', 'Event'), 125 'Document.readystatechange': ('readyStateChange', 'Event'),
126 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'), 126 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'),
127 'Document.selectionchange': ('selectionChange', 'Event'), 127 'Document.selectionchange': ('selectionChange', 'Event'),
128 'Document.webkitpointerlockchange': ('pointerLockChange', 'Event'), 128 'Document.webkitpointerlockchange': ('pointerLockChange', 'Event'),
129 'Document.webkitpointerlockerror': ('pointerLockError', 'Event'), 129 'Document.webkitpointerlockerror': ('pointerLockError', 'Event'),
130 'EventSource.open': ('open', 'Event'), 130 'EventSource.open': ('open', 'Event'),
131 'FileReader.abort': ('abort', 'ProgressEvent'), 131 'FileReader.abort': ('abort', 'ProgressEvent'),
132 'FileReader.load': ('load', 'ProgressEvent'), 132 'FileReader.load': ('load', 'ProgressEvent'),
133 'FileReader.loadend': ('loadEnd', 'ProgressEvent'), 133 'FileReader.loadend': ('loadEnd', 'ProgressEvent'),
134 'FileReader.loadstart': ('loadStart', 'ProgressEvent'), 134 'FileReader.loadstart': ('loadStart', 'ProgressEvent'),
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 """ 403 """
404 key = '%s.%s' % (html_interface_name, dom_event_name) 404 key = '%s.%s' % (html_interface_name, dom_event_name)
405 if key in _html_event_types: 405 if key in _html_event_types:
406 return _html_event_types[key] 406 return _html_event_types[key]
407 key = '*.%s' % dom_event_name 407 key = '*.%s' % dom_event_name
408 if key in _html_event_types: 408 if key in _html_event_types:
409 return _html_event_types[key] 409 return _html_event_types[key]
410 _logger.warn('Cannot resolve event type for %s.%s' % 410 _logger.warn('Cannot resolve event type for %s.%s' %
411 (html_interface_name, dom_event_name)) 411 (html_interface_name, dom_event_name))
412 return None 412 return None
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698