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

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

Issue 208263004: Move TraceEvent.h from platform/ to wtf/ Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 'heap/Handle.h', 50 'heap/Handle.h',
51 ]) 51 ])
52 INTERFACE_CPP_INCLUDES = frozenset([ 52 INTERFACE_CPP_INCLUDES = frozenset([
53 'RuntimeEnabledFeatures.h', 53 'RuntimeEnabledFeatures.h',
54 'bindings/v8/ExceptionState.h', 54 'bindings/v8/ExceptionState.h',
55 'bindings/v8/V8DOMConfiguration.h', 55 'bindings/v8/V8DOMConfiguration.h',
56 'bindings/v8/V8HiddenValue.h', 56 'bindings/v8/V8HiddenValue.h',
57 'bindings/v8/V8ObjectConstructor.h', 57 'bindings/v8/V8ObjectConstructor.h',
58 'core/dom/ContextFeatures.h', 58 'core/dom/ContextFeatures.h',
59 'core/dom/Document.h', 59 'core/dom/Document.h',
60 'platform/TraceEvent.h',
61 'wtf/GetPtr.h', 60 'wtf/GetPtr.h',
62 'wtf/RefPtr.h', 61 'wtf/RefPtr.h',
62 'wtf/TraceEvent.h',
63 ]) 63 ])
64 64
65 65
66 def generate_interface(interface): 66 def generate_interface(interface):
67 includes.clear() 67 includes.clear()
68 includes.update(INTERFACE_CPP_INCLUDES) 68 includes.update(INTERFACE_CPP_INCLUDES)
69 header_includes = set(INTERFACE_H_INCLUDES) 69 header_includes = set(INTERFACE_H_INCLUDES)
70 70
71 parent_interface = interface.parent 71 parent_interface = interface.parent
72 if parent_interface: 72 if parent_interface:
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 deleter = next( 710 deleter = next(
711 method 711 method
712 for method in interface.operations 712 for method in interface.operations
713 if ('deleter' in method.specials and 713 if ('deleter' in method.specials and
714 len(method.arguments) == 1 and 714 len(method.arguments) == 1 and
715 str(method.arguments[0].idl_type) == 'DOMString')) 715 str(method.arguments[0].idl_type) == 'DOMString'))
716 except StopIteration: 716 except StopIteration:
717 return None 717 return None
718 718
719 return property_deleter(deleter) 719 return property_deleter(deleter)
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8SVGTestInterface.cpp » ('j') | Source/wtf/TraceEvent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698