| OLD | NEW |
| 1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 2 # coding=utf-8 | 2 # coding=utf-8 |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 'bindings/core/v8/V8Float64Array.h', | 170 'bindings/core/v8/V8Float64Array.h', |
| 171 'bindings/core/v8/V8DataView.h')) | 171 'bindings/core/v8/V8DataView.h')) |
| 172 | 172 |
| 173 # [ActiveScriptWrappable] | 173 # [ActiveScriptWrappable] |
| 174 active_scriptwrappable = 'ActiveScriptWrappable' in extended_attributes | 174 active_scriptwrappable = 'ActiveScriptWrappable' in extended_attributes |
| 175 | 175 |
| 176 # [CheckSecurity] | 176 # [CheckSecurity] |
| 177 is_check_security = 'CheckSecurity' in extended_attributes | 177 is_check_security = 'CheckSecurity' in extended_attributes |
| 178 if is_check_security: | 178 if is_check_security: |
| 179 includes.add('bindings/core/v8/BindingSecurity.h') | 179 includes.add('bindings/core/v8/BindingSecurity.h') |
| 180 includes.add('core/frame/LocalDOMWindow.h') |
| 180 | 181 |
| 181 # [DependentLifetime] | 182 # [DependentLifetime] |
| 182 is_dependent_lifetime = 'DependentLifetime' in extended_attributes | 183 is_dependent_lifetime = 'DependentLifetime' in extended_attributes |
| 183 | 184 |
| 184 # [PrimaryGlobal] and [Global] | 185 # [PrimaryGlobal] and [Global] |
| 185 is_global = ('PrimaryGlobal' in extended_attributes or | 186 is_global = ('PrimaryGlobal' in extended_attributes or |
| 186 'Global' in extended_attributes) | 187 'Global' in extended_attributes) |
| 187 | 188 |
| 188 # [SetWrapperReferenceFrom] | 189 # [SetWrapperReferenceFrom] |
| 189 set_wrapper_reference_from = extended_attributes.get('SetWrapperReferenceFro
m') | 190 set_wrapper_reference_from = extended_attributes.get('SetWrapperReferenceFro
m') |
| (...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 extended_attributes = deleter.extended_attributes | 1387 extended_attributes = deleter.extended_attributes |
| 1387 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete
r, 'CallWith', 'ScriptState') | 1388 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete
r, 'CallWith', 'ScriptState') |
| 1388 is_ce_reactions = 'CEReactions' in extended_attributes | 1389 is_ce_reactions = 'CEReactions' in extended_attributes |
| 1389 return { | 1390 return { |
| 1390 'is_call_with_script_state': is_call_with_script_state, | 1391 'is_call_with_script_state': is_call_with_script_state, |
| 1391 'is_ce_reactions': is_ce_reactions, | 1392 'is_ce_reactions': is_ce_reactions, |
| 1392 'is_custom': 'Custom' in extended_attributes, | 1393 'is_custom': 'Custom' in extended_attributes, |
| 1393 'is_raises_exception': 'RaisesException' in extended_attributes, | 1394 'is_raises_exception': 'RaisesException' in extended_attributes, |
| 1394 'name': cpp_name(deleter), | 1395 'name': cpp_name(deleter), |
| 1395 } | 1396 } |
| OLD | NEW |