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

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/v8_utilities.py

Issue 2372303002: [worklets] Add AudioWorkletGlobalScope and AudioWorkletThread (Closed)
Patch Set: Fixing nits after l-g-t-m Created 4 years, 2 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 | « no previous file | third_party/WebKit/Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 extended_attributes = member.extended_attributes 241 extended_attributes = member.extended_attributes
242 if 'DeprecateAs' not in extended_attributes: 242 if 'DeprecateAs' not in extended_attributes:
243 return None 243 return None
244 includes.add('core/frame/Deprecation.h') 244 includes.add('core/frame/Deprecation.h')
245 return extended_attributes['DeprecateAs'] 245 return extended_attributes['DeprecateAs']
246 246
247 247
248 # [Exposed] 248 # [Exposed]
249 EXPOSED_EXECUTION_CONTEXT_METHOD = { 249 EXPOSED_EXECUTION_CONTEXT_METHOD = {
250 'AnimationWorklet': 'isAnimationWorkletGlobalScope', 250 'AnimationWorklet': 'isAnimationWorkletGlobalScope',
251 'AudioWorklet': 'isAudioWorkletGlobalScope',
251 'CompositorWorker': 'isCompositorWorkerGlobalScope', 252 'CompositorWorker': 'isCompositorWorkerGlobalScope',
252 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', 253 'DedicatedWorker': 'isDedicatedWorkerGlobalScope',
253 'PaintWorklet': 'isPaintWorkletGlobalScope', 254 'PaintWorklet': 'isPaintWorkletGlobalScope',
254 'ServiceWorker': 'isServiceWorkerGlobalScope', 255 'ServiceWorker': 'isServiceWorkerGlobalScope',
255 'SharedWorker': 'isSharedWorkerGlobalScope', 256 'SharedWorker': 'isSharedWorkerGlobalScope',
256 'Window': 'isDocument', 257 'Window': 'isDocument',
257 'Worker': 'isWorkerGlobalScope', 258 'Worker': 'isWorkerGlobalScope',
258 'Worklet': 'isWorkletGlobalScope', 259 'Worklet': 'isWorkletGlobalScope',
259 } 260 }
260 261
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 except StopIteration: 646 except StopIteration:
646 return None 647 return None
647 648
648 649
649 IdlInterface.indexed_property_getter = property(indexed_property_getter) 650 IdlInterface.indexed_property_getter = property(indexed_property_getter)
650 IdlInterface.indexed_property_setter = property(indexed_property_setter) 651 IdlInterface.indexed_property_setter = property(indexed_property_setter)
651 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) 652 IdlInterface.indexed_property_deleter = property(indexed_property_deleter)
652 IdlInterface.named_property_getter = property(named_property_getter) 653 IdlInterface.named_property_getter = property(named_property_getter)
653 IdlInterface.named_property_setter = property(named_property_setter) 654 IdlInterface.named_property_setter = property(named_property_setter)
654 IdlInterface.named_property_deleter = property(named_property_deleter) 655 IdlInterface.named_property_deleter = property(named_property_deleter)
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698