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

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

Issue 2210973002: Fix compile errors ignored by binding aggregations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698