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

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

Issue 2804753005: Rewrite references to "wtf/" to "platform/wtf/" in bindings. (Closed)
Patch Set: Created 3 years, 8 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 'bindings/core/v8/V8Binding.h', 57 'bindings/core/v8/V8Binding.h',
58 'bindings/core/v8/V8DOMWrapper.h', 58 'bindings/core/v8/V8DOMWrapper.h',
59 'bindings/core/v8/WrapperTypeInfo.h', 59 'bindings/core/v8/WrapperTypeInfo.h',
60 'platform/heap/Handle.h', 60 'platform/heap/Handle.h',
61 ]) 61 ])
62 INTERFACE_CPP_INCLUDES = frozenset([ 62 INTERFACE_CPP_INCLUDES = frozenset([
63 'bindings/core/v8/ExceptionState.h', 63 'bindings/core/v8/ExceptionState.h',
64 'bindings/core/v8/V8DOMConfiguration.h', 64 'bindings/core/v8/V8DOMConfiguration.h',
65 'bindings/core/v8/V8ObjectConstructor.h', 65 'bindings/core/v8/V8ObjectConstructor.h',
66 'core/dom/Document.h', 66 'core/dom/Document.h',
67 'wtf/GetPtr.h', 67 'platform/wtf/GetPtr.h',
68 'wtf/RefPtr.h', 68 'platform/wtf/RefPtr.h',
69 ]) 69 ])
70 70
71 71
72 def filter_has_constant_configuration(constants): 72 def filter_has_constant_configuration(constants):
73 return [constant for constant in constants if 73 return [constant for constant in constants if
74 not constant['measure_as'] and 74 not constant['measure_as'] and
75 not constant['deprecate_as'] and 75 not constant['deprecate_as'] and
76 not constant['runtime_enabled_feature_name'] and 76 not constant['runtime_enabled_feature_name'] and
77 not constant['origin_trial_feature_name']] 77 not constant['origin_trial_feature_name']]
78 78
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 extended_attributes = deleter.extended_attributes 1373 extended_attributes = deleter.extended_attributes
1374 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState') 1374 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState')
1375 is_ce_reactions = 'CEReactions' in extended_attributes 1375 is_ce_reactions = 'CEReactions' in extended_attributes
1376 return { 1376 return {
1377 'is_call_with_script_state': is_call_with_script_state, 1377 'is_call_with_script_state': is_call_with_script_state,
1378 'is_ce_reactions': is_ce_reactions, 1378 'is_ce_reactions': is_ce_reactions,
1379 'is_custom': 'Custom' in extended_attributes, 1379 'is_custom': 'Custom' in extended_attributes,
1380 'is_raises_exception': 'RaisesException' in extended_attributes, 1380 'is_raises_exception': 'RaisesException' in extended_attributes,
1381 'name': cpp_name(deleter), 1381 'name': cpp_name(deleter),
1382 } 1382 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698