| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 import v8_attributes | 43 import v8_attributes |
| 44 from v8_globals import includes | 44 from v8_globals import includes |
| 45 import v8_methods | 45 import v8_methods |
| 46 import v8_types | 46 import v8_types |
| 47 import v8_utilities | 47 import v8_utilities |
| 48 from v8_utilities import (cpp_name_or_partial, cpp_name, has_extended_attribute_
value, | 48 from v8_utilities import (cpp_name_or_partial, cpp_name, has_extended_attribute_
value, |
| 49 runtime_enabled_function_name, is_legacy_interface_typ
e_checking) | 49 runtime_enabled_function_name, is_legacy_interface_typ
e_checking) |
| 50 | 50 |
| 51 | 51 |
| 52 INTERFACE_H_INCLUDES = frozenset([ | 52 INTERFACE_H_INCLUDES = frozenset([ |
| 53 'bindings/core/v8/GeneratedCodeHelper.h', | |
| 54 'bindings/core/v8/ScriptWrappable.h', | 53 'bindings/core/v8/ScriptWrappable.h', |
| 55 'bindings/core/v8/ToV8.h', | 54 'bindings/core/v8/ToV8.h', |
| 56 'bindings/core/v8/V8Binding.h', | 55 'bindings/core/v8/V8Binding.h', |
| 57 'bindings/core/v8/V8DOMWrapper.h', | 56 'bindings/core/v8/V8DOMWrapper.h', |
| 58 'bindings/core/v8/WrapperTypeInfo.h', | 57 'bindings/core/v8/WrapperTypeInfo.h', |
| 59 'platform/heap/Handle.h', | 58 'platform/heap/Handle.h', |
| 60 ]) | 59 ]) |
| 61 INTERFACE_CPP_INCLUDES = frozenset([ | 60 INTERFACE_CPP_INCLUDES = frozenset([ |
| 62 'bindings/core/v8/ExceptionState.h', | 61 'bindings/core/v8/ExceptionState.h', |
| 62 'bindings/core/v8/GeneratedCodeHelper.h', |
| 63 'bindings/core/v8/V8DOMConfiguration.h', | 63 'bindings/core/v8/V8DOMConfiguration.h', |
| 64 'bindings/core/v8/V8ObjectConstructor.h', | 64 'bindings/core/v8/V8ObjectConstructor.h', |
| 65 'core/dom/Document.h', | 65 'core/dom/Document.h', |
| 66 'wtf/GetPtr.h', | 66 'wtf/GetPtr.h', |
| 67 'wtf/RefPtr.h', | 67 'wtf/RefPtr.h', |
| 68 ]) | 68 ]) |
| 69 | 69 |
| 70 | 70 |
| 71 def filter_has_constant_configuration(constants): | 71 def filter_has_constant_configuration(constants): |
| 72 return [constant for constant in constants if | 72 return [constant for constant in constants if |
| (...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1404 extended_attributes = deleter.extended_attributes | 1404 extended_attributes = deleter.extended_attributes |
| 1405 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete
r, 'CallWith', 'ScriptState') | 1405 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete
r, 'CallWith', 'ScriptState') |
| 1406 is_ce_reactions = 'CEReactions' in extended_attributes | 1406 is_ce_reactions = 'CEReactions' in extended_attributes |
| 1407 return { | 1407 return { |
| 1408 'is_call_with_script_state': is_call_with_script_state, | 1408 'is_call_with_script_state': is_call_with_script_state, |
| 1409 'is_ce_reactions': is_ce_reactions, | 1409 'is_ce_reactions': is_ce_reactions, |
| 1410 'is_custom': 'Custom' in extended_attributes, | 1410 'is_custom': 'Custom' in extended_attributes, |
| 1411 'is_raises_exception': 'RaisesException' in extended_attributes, | 1411 'is_raises_exception': 'RaisesException' in extended_attributes, |
| 1412 'name': cpp_name(deleter), | 1412 'name': cpp_name(deleter), |
| 1413 } | 1413 } |
| OLD | NEW |