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

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

Issue 2254593002: [worklets] Introduce AnimationWorkletGlobalScope and ThreadedWorkletGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add super call to WorkletGlobalScope::dispose() Created 4 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
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 def deprecate_as(member): 240 def deprecate_as(member):
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 'CompositorWorker': 'isCompositorWorkerGlobalScope', 251 'CompositorWorker': 'isCompositorWorkerGlobalScope',
251 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', 252 'DedicatedWorker': 'isDedicatedWorkerGlobalScope',
252 'PaintWorklet': 'isPaintWorkletGlobalScope', 253 'PaintWorklet': 'isPaintWorkletGlobalScope',
253 'ServiceWorker': 'isServiceWorkerGlobalScope', 254 'ServiceWorker': 'isServiceWorkerGlobalScope',
254 'SharedWorker': 'isSharedWorkerGlobalScope', 255 'SharedWorker': 'isSharedWorkerGlobalScope',
255 'Window': 'isDocument', 256 'Window': 'isDocument',
256 'Worker': 'isWorkerGlobalScope', 257 'Worker': 'isWorkerGlobalScope',
257 'Worklet': 'isWorkletGlobalScope', 258 'Worklet': 'isWorkletGlobalScope',
258 } 259 }
259 260
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 except StopIteration: 645 except StopIteration:
645 return None 646 return None
646 647
647 648
648 IdlInterface.indexed_property_getter = property(indexed_property_getter) 649 IdlInterface.indexed_property_getter = property(indexed_property_getter)
649 IdlInterface.indexed_property_setter = property(indexed_property_setter) 650 IdlInterface.indexed_property_setter = property(indexed_property_setter)
650 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) 651 IdlInterface.indexed_property_deleter = property(indexed_property_deleter)
651 IdlInterface.named_property_getter = property(named_property_getter) 652 IdlInterface.named_property_getter = property(named_property_getter)
652 IdlInterface.named_property_setter = property(named_property_setter) 653 IdlInterface.named_property_setter = property(named_property_setter)
653 IdlInterface.named_property_deleter = property(named_property_deleter) 654 IdlInterface.named_property_deleter = property(named_property_deleter)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698