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

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

Issue 1818223002: Introduce PaintWorkletGlobalScope, rename renderWorklet attribute to paintWorklet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix interface listing order. Created 4 years, 9 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 if 'DeprecateAs' not in extended_attributes: 224 if 'DeprecateAs' not in extended_attributes:
225 return None 225 return None
226 includes.add('core/frame/Deprecation.h') 226 includes.add('core/frame/Deprecation.h')
227 return extended_attributes['DeprecateAs'] 227 return extended_attributes['DeprecateAs']
228 228
229 229
230 # [Exposed] 230 # [Exposed]
231 EXPOSED_EXECUTION_CONTEXT_METHOD = { 231 EXPOSED_EXECUTION_CONTEXT_METHOD = {
232 'CompositorWorker': 'isCompositorWorkerGlobalScope', 232 'CompositorWorker': 'isCompositorWorkerGlobalScope',
233 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', 233 'DedicatedWorker': 'isDedicatedWorkerGlobalScope',
234 'PaintWorklet': 'isPaintWorkletGlobalScope',
234 'ServiceWorker': 'isServiceWorkerGlobalScope', 235 'ServiceWorker': 'isServiceWorkerGlobalScope',
235 'SharedWorker': 'isSharedWorkerGlobalScope', 236 'SharedWorker': 'isSharedWorkerGlobalScope',
236 'Window': 'isDocument', 237 'Window': 'isDocument',
237 'Worker': 'isWorkerGlobalScope', 238 'Worker': 'isWorkerGlobalScope',
238 'Worklet': 'isWorkletGlobalScope', 239 'Worklet': 'isWorkletGlobalScope',
239 } 240 }
240 241
241 242
242 EXPOSED_WORKERS = set([ 243 EXPOSED_WORKERS = set([
243 'CompositorWorker', 244 'CompositorWorker',
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 except StopIteration: 595 except StopIteration:
595 return None 596 return None
596 597
597 598
598 IdlInterface.indexed_property_getter = property(indexed_property_getter) 599 IdlInterface.indexed_property_getter = property(indexed_property_getter)
599 IdlInterface.indexed_property_setter = property(indexed_property_setter) 600 IdlInterface.indexed_property_setter = property(indexed_property_setter)
600 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) 601 IdlInterface.indexed_property_deleter = property(indexed_property_deleter)
601 IdlInterface.named_property_getter = property(named_property_getter) 602 IdlInterface.named_property_getter = property(named_property_getter)
602 IdlInterface.named_property_setter = property(named_property_setter) 603 IdlInterface.named_property_setter = property(named_property_setter)
603 IdlInterface.named_property_deleter = property(named_property_deleter) 604 IdlInterface.named_property_deleter = property(named_property_deleter)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698