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

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/v8_union.py

Issue 2714133003: bindings: Remove usages of restricted_float in the Python code. (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/Source/bindings/scripts/v8_types.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import v8_types 5 import v8_types
6 import v8_utilities 6 import v8_utilities
7 7
8 8
9 UNION_CPP_INCLUDES = frozenset([ 9 UNION_CPP_INCLUDES = frozenset([
10 'bindings/core/v8/ToV8.h', 10 'bindings/core/v8/ToV8.h',
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 cpp_value='impl.getAs%s()' % member.name, isolate='isolate', 143 cpp_value='impl.getAs%s()' % member.name, isolate='isolate',
144 creation_context='creationContext'), 144 creation_context='creationContext'),
145 'enum_values': member.enum_values, 145 'enum_values': member.enum_values,
146 'is_array_buffer_or_view_type': member.is_array_buffer_or_view, 146 'is_array_buffer_or_view_type': member.is_array_buffer_or_view,
147 'is_traceable': member.is_traceable, 147 'is_traceable': member.is_traceable,
148 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True), 148 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True),
149 'specific_type_enum': 'SpecificType' + member.name, 149 'specific_type_enum': 'SpecificType' + member.name,
150 'type_name': member.name, 150 'type_name': member.name,
151 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value( 151 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value(
152 {}, 'v8Value', 'cppValue', isolate='isolate', 152 {}, 'v8Value', 'cppValue', isolate='isolate',
153 use_exception_state=True, restricted_float=True), 153 use_exception_state=True)
154 } 154 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/v8_types.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698