| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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) |
| OLD | NEW |