OLD | NEW |
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 'PaintWorklet': 'isPaintWorkletGlobalScope', |
| 235 'AudioWorklet': 'isAudioWorkletGlobalScope', |
235 'ServiceWorker': 'isServiceWorkerGlobalScope', | 236 'ServiceWorker': 'isServiceWorkerGlobalScope', |
236 'SharedWorker': 'isSharedWorkerGlobalScope', | 237 'SharedWorker': 'isSharedWorkerGlobalScope', |
237 'Window': 'isDocument', | 238 'Window': 'isDocument', |
238 'Worker': 'isWorkerGlobalScope', | 239 'Worker': 'isWorkerGlobalScope', |
239 'Worklet': 'isWorkletGlobalScope', | 240 'Worklet': 'isWorkletGlobalScope', |
240 } | 241 } |
241 | 242 |
242 | 243 |
243 EXPOSED_WORKERS = set([ | 244 EXPOSED_WORKERS = set([ |
244 'CompositorWorker', | 245 'CompositorWorker', |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 except StopIteration: | 602 except StopIteration: |
602 return None | 603 return None |
603 | 604 |
604 | 605 |
605 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 606 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
606 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 607 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
607 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 608 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
608 IdlInterface.named_property_getter = property(named_property_getter) | 609 IdlInterface.named_property_getter = property(named_property_getter) |
609 IdlInterface.named_property_setter = property(named_property_setter) | 610 IdlInterface.named_property_setter = property(named_property_setter) |
610 IdlInterface.named_property_deleter = property(named_property_deleter) | 611 IdlInterface.named_property_deleter = property(named_property_deleter) |
OLD | NEW |