| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 extended_attributes = member.extended_attributes | 234 extended_attributes = member.extended_attributes |
| 235 if 'DeprecateAs' not in extended_attributes: | 235 if 'DeprecateAs' not in extended_attributes: |
| 236 return None | 236 return None |
| 237 includes.add('core/frame/Deprecation.h') | 237 includes.add('core/frame/Deprecation.h') |
| 238 return extended_attributes['DeprecateAs'] | 238 return extended_attributes['DeprecateAs'] |
| 239 | 239 |
| 240 | 240 |
| 241 # [Exposed] | 241 # [Exposed] |
| 242 EXPOSED_EXECUTION_CONTEXT_METHOD = { | 242 EXPOSED_EXECUTION_CONTEXT_METHOD = { |
| 243 'CompositorWorker': 'isCompositorWorkerGlobalScope', | 243 'CompositorWorker': 'isCompositorWorkerGlobalScope', |
| 244 'CompositorWorklet': 'isCompositorWorkletGlobalScope', |
| 244 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', | 245 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', |
| 245 'PaintWorklet': 'isPaintWorkletGlobalScope', | 246 'PaintWorklet': 'isPaintWorkletGlobalScope', |
| 246 'ServiceWorker': 'isServiceWorkerGlobalScope', | 247 'ServiceWorker': 'isServiceWorkerGlobalScope', |
| 247 'SharedWorker': 'isSharedWorkerGlobalScope', | 248 'SharedWorker': 'isSharedWorkerGlobalScope', |
| 248 'Window': 'isDocument', | 249 'Window': 'isDocument', |
| 249 'Worker': 'isWorkerGlobalScope', | 250 'Worker': 'isWorkerGlobalScope', |
| 250 'Worklet': 'isWorkletGlobalScope', | 251 'Worklet': 'isWorkletGlobalScope', |
| 251 } | 252 } |
| 252 | 253 |
| 253 | 254 |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 except StopIteration: | 620 except StopIteration: |
| 620 return None | 621 return None |
| 621 | 622 |
| 622 | 623 |
| 623 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 624 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
| 624 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 625 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
| 625 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 626 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
| 626 IdlInterface.named_property_getter = property(named_property_getter) | 627 IdlInterface.named_property_getter = property(named_property_getter) |
| 627 IdlInterface.named_property_setter = property(named_property_setter) | 628 IdlInterface.named_property_setter = property(named_property_setter) |
| 628 IdlInterface.named_property_deleter = property(named_property_deleter) | 629 IdlInterface.named_property_deleter = property(named_property_deleter) |
| OLD | NEW |