Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: Source/bindings/scripts/v8_interface.py

Issue 1183763003: Remove ArrayBufferDeallocationObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s_ prefix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 if parent_interface: 90 if parent_interface:
91 header_includes.update(v8_types.includes_for_interface(parent_interf ace)) 91 header_includes.update(v8_types.includes_for_interface(parent_interf ace))
92 is_event_target = inherits_interface(interface.name, 'EventTarget') 92 is_event_target = inherits_interface(interface.name, 'EventTarget')
93 93
94 extended_attributes = interface.extended_attributes 94 extended_attributes = interface.extended_attributes
95 95
96 is_array_buffer_or_view = interface.idl_type.is_array_buffer_or_view 96 is_array_buffer_or_view = interface.idl_type.is_array_buffer_or_view
97 is_typed_array_type = interface.idl_type.is_typed_array 97 is_typed_array_type = interface.idl_type.is_typed_array
98 if is_array_buffer_or_view: 98 if is_array_buffer_or_view:
99 includes.add('bindings/core/v8/V8ArrayBuffer.h') 99 includes.add('bindings/core/v8/V8ArrayBuffer.h')
100 if interface.name == 'ArrayBuffer':
101 includes.add('core/dom/DOMArrayBufferDeallocationObserver.h')
102 if interface.name == 'ArrayBufferView': 100 if interface.name == 'ArrayBufferView':
103 includes.update(( 101 includes.update((
104 'bindings/core/v8/V8Int8Array.h', 102 'bindings/core/v8/V8Int8Array.h',
105 'bindings/core/v8/V8Int16Array.h', 103 'bindings/core/v8/V8Int16Array.h',
106 'bindings/core/v8/V8Int32Array.h', 104 'bindings/core/v8/V8Int32Array.h',
107 'bindings/core/v8/V8Uint8Array.h', 105 'bindings/core/v8/V8Uint8Array.h',
108 'bindings/core/v8/V8Uint8ClampedArray.h', 106 'bindings/core/v8/V8Uint8ClampedArray.h',
109 'bindings/core/v8/V8Uint16Array.h', 107 'bindings/core/v8/V8Uint16Array.h',
110 'bindings/core/v8/V8Uint32Array.h', 108 'bindings/core/v8/V8Uint32Array.h',
111 'bindings/core/v8/V8Float32Array.h', 109 'bindings/core/v8/V8Float32Array.h',
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 1342
1345 extended_attributes = deleter.extended_attributes 1343 extended_attributes = deleter.extended_attributes
1346 idl_type = deleter.idl_type 1344 idl_type = deleter.idl_type
1347 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState') 1345 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState')
1348 return { 1346 return {
1349 'is_call_with_script_state': is_call_with_script_state, 1347 'is_call_with_script_state': is_call_with_script_state,
1350 'is_custom': 'Custom' in extended_attributes, 1348 'is_custom': 'Custom' in extended_attributes,
1351 'is_raises_exception': 'RaisesException' in extended_attributes, 1349 'is_raises_exception': 'RaisesException' in extended_attributes,
1352 'name': cpp_name(deleter), 1350 'name': cpp_name(deleter),
1353 } 1351 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698