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

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

Issue 1535943005: Initial implementation of bindings and basic classes for worklets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: absolute paths for DEPS file. Created 4 years, 11 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'ServiceWorker': 'isServiceWorkerGlobalScope', 234 'ServiceWorker': 'isServiceWorkerGlobalScope',
235 'SharedWorker': 'isSharedWorkerGlobalScope', 235 'SharedWorker': 'isSharedWorkerGlobalScope',
236 'Window': 'isDocument', 236 'Window': 'isDocument',
237 'Worker': 'isWorkerGlobalScope', 237 'Worker': 'isWorkerGlobalScope',
238 'Worklet': 'isWorkletGlobalScope',
238 } 239 }
239 240
240 241
241 EXPOSED_WORKERS = set([ 242 EXPOSED_WORKERS = set([
242 'CompositorWorker', 243 'CompositorWorker',
243 'DedicatedWorker', 244 'DedicatedWorker',
244 'SharedWorker', 245 'SharedWorker',
245 'ServiceWorker', 246 'ServiceWorker',
246 ]) 247 ])
247 248
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 except StopIteration: 594 except StopIteration:
594 return None 595 return None
595 596
596 597
597 IdlInterface.indexed_property_getter = property(indexed_property_getter) 598 IdlInterface.indexed_property_getter = property(indexed_property_getter)
598 IdlInterface.indexed_property_setter = property(indexed_property_setter) 599 IdlInterface.indexed_property_setter = property(indexed_property_setter)
599 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) 600 IdlInterface.indexed_property_deleter = property(indexed_property_deleter)
600 IdlInterface.named_property_getter = property(named_property_getter) 601 IdlInterface.named_property_getter = property(named_property_getter)
601 IdlInterface.named_property_setter = property(named_property_setter) 602 IdlInterface.named_property_setter = property(named_property_setter)
602 IdlInterface.named_property_deleter = property(named_property_deleter) 603 IdlInterface.named_property_deleter = property(named_property_deleter)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698