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

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

Issue 750093002: Fixed pointerlock* getters (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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') | tools/dom/scripts/htmlrenamer.py » ('j') | 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'ApplicationCache.cached': ('cached', 'Event'), 119 'ApplicationCache.cached': ('cached', 'Event'),
120 'ApplicationCache.checking': ('checking', 'Event'), 120 'ApplicationCache.checking': ('checking', 'Event'),
121 'ApplicationCache.downloading': ('downloading', 'Event'), 121 'ApplicationCache.downloading': ('downloading', 'Event'),
122 'ApplicationCache.noupdate': ('noUpdate', 'Event'), 122 'ApplicationCache.noupdate': ('noUpdate', 'Event'),
123 'ApplicationCache.obsolete': ('obsolete', 'Event'), 123 'ApplicationCache.obsolete': ('obsolete', 'Event'),
124 'ApplicationCache.progress': ('progress', 'ProgressEvent'), 124 'ApplicationCache.progress': ('progress', 'ProgressEvent'),
125 'ApplicationCache.updateready': ('updateReady', 'Event'), 125 'ApplicationCache.updateready': ('updateReady', 'Event'),
126 'Document.readystatechange': ('readyStateChange', 'Event'), 126 'Document.readystatechange': ('readyStateChange', 'Event'),
127 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'), 127 'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolic yViolationEvent'),
128 'Document.selectionchange': ('selectionChange', 'Event'), 128 'Document.selectionchange': ('selectionChange', 'Event'),
129 'Document.webkitpointerlockchange': ('pointerLockChange', 'Event'), 129 'Document.pointerlockchange': ('pointerLockChange', 'Event'),
130 'Document.webkitpointerlockerror': ('pointerLockError', 'Event'), 130 'Document.pointerlockerror': ('pointerLockError', 'Event'),
131 'EventSource.open': ('open', 'Event'), 131 'EventSource.open': ('open', 'Event'),
132 'FileReader.abort': ('abort', 'ProgressEvent'), 132 'FileReader.abort': ('abort', 'ProgressEvent'),
133 'FileReader.load': ('load', 'ProgressEvent'), 133 'FileReader.load': ('load', 'ProgressEvent'),
134 'FileReader.loadend': ('loadEnd', 'ProgressEvent'), 134 'FileReader.loadend': ('loadEnd', 'ProgressEvent'),
135 'FileReader.loadstart': ('loadStart', 'ProgressEvent'), 135 'FileReader.loadstart': ('loadStart', 'ProgressEvent'),
136 'FileReader.progress': ('progress', 'ProgressEvent'), 136 'FileReader.progress': ('progress', 'ProgressEvent'),
137 'FileWriter.abort': ('abort', 'ProgressEvent'), 137 'FileWriter.abort': ('abort', 'ProgressEvent'),
138 'FileWriter.progress': ('progress', 'ProgressEvent'), 138 'FileWriter.progress': ('progress', 'ProgressEvent'),
139 'FileWriter.write': ('write', 'ProgressEvent'), 139 'FileWriter.write': ('write', 'ProgressEvent'),
140 'FileWriter.writeend': ('writeEnd', 'ProgressEvent'), 140 'FileWriter.writeend': ('writeEnd', 'ProgressEvent'),
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 """ 410 """
411 key = '%s.%s' % (html_interface_name, dom_event_name) 411 key = '%s.%s' % (html_interface_name, dom_event_name)
412 if key in _html_event_types: 412 if key in _html_event_types:
413 return _html_event_types[key] 413 return _html_event_types[key]
414 key = '*.%s' % dom_event_name 414 key = '*.%s' % dom_event_name
415 if key in _html_event_types: 415 if key in _html_event_types:
416 return _html_event_types[key] 416 return _html_event_types[key]
417 _logger.warn('Cannot resolve event type for %s.%s' % 417 _logger.warn('Cannot resolve event type for %s.%s' %
418 (html_interface_name, dom_event_name)) 418 (html_interface_name, dom_event_name))
419 return None 419 return None
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698