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

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

Issue 2907563003: Revert "[Experiment] Stop suppressing DragEvent" (Closed)
Patch Set: Created 3 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
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/scripts/htmleventgenerator.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 shared functionality for systems to generate 6 """This module provides shared functionality for systems to generate
7 Dart APIs from the IDL database.""" 7 Dart APIs from the IDL database."""
8 8
9 import copy 9 import copy
10 import json 10 import json
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 'Event,InputEvent', 288 'Event,InputEvent',
289 289
290 'HTMLTableCellElement': 290 'HTMLTableCellElement':
291 'HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElemen t', 291 'HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElemen t',
292 292
293 'GainNode': 'GainNode,AudioGainNode', 293 'GainNode': 'GainNode,AudioGainNode',
294 294
295 'IDBOpenDBRequest': 295 'IDBOpenDBRequest':
296 'IDBOpenDBRequest,IDBVersionChangeRequest', 296 'IDBOpenDBRequest,IDBVersionChangeRequest',
297 297
298 'MouseEvent': 'MouseEvent,DragEvent',
299
298 'MutationObserver': 'MutationObserver,WebKitMutationObserver', 300 'MutationObserver': 'MutationObserver,WebKitMutationObserver',
299 301
300 'NamedNodeMap': 'NamedNodeMap,MozNamedAttrMap', 302 'NamedNodeMap': 'NamedNodeMap,MozNamedAttrMap',
301 303
302 'NodeList': 'NodeList,RadioNodeList', 304 'NodeList': 'NodeList,RadioNodeList',
303 305
304 'OscillatorNode': 'OscillatorNode,Oscillator', 306 'OscillatorNode': 'OscillatorNode,Oscillator',
305 307
306 'PannerNode': 'PannerNode,AudioPannerNode,webkitAudioPannerNode', 308 'PannerNode': 'PannerNode,AudioPannerNode,webkitAudioPannerNode',
307 309
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 return_type == 'Rectangle') 1722 return_type == 'Rectangle')
1721 1723
1722 def wrap_return_type_blink(return_type, type_name, type_registry): 1724 def wrap_return_type_blink(return_type, type_name, type_registry):
1723 """Returns True if we should wrap the returned value. This checks 1725 """Returns True if we should wrap the returned value. This checks
1724 a number of different variations, calling the more basic functions 1726 a number of different variations, calling the more basic functions
1725 above.""" 1727 above."""
1726 return (wrap_unwrap_type_blink(return_type, type_registry) or 1728 return (wrap_unwrap_type_blink(return_type, type_registry) or
1727 wrap_unwrap_type_blink(type_name, type_registry) or 1729 wrap_unwrap_type_blink(type_name, type_registry) or
1728 wrap_type_blink(return_type, type_registry) or 1730 wrap_type_blink(return_type, type_registry) or
1729 wrap_unwrap_list_blink(return_type, type_registry)) 1731 wrap_unwrap_list_blink(return_type, type_registry))
OLDNEW
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/scripts/htmleventgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698