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

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

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 | « Source/bindings/scripts/code_generator_v8.pm ('k') | 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 # 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'bindings/v8/V8DOMWrapper.h', 48 'bindings/v8/V8DOMWrapper.h',
49 'bindings/v8/WrapperTypeInfo.h', 49 'bindings/v8/WrapperTypeInfo.h',
50 ]) 50 ])
51 INTERFACE_CPP_INCLUDES = set([ 51 INTERFACE_CPP_INCLUDES = set([
52 'RuntimeEnabledFeatures.h', 52 'RuntimeEnabledFeatures.h',
53 'bindings/v8/ExceptionMessages.h', 53 'bindings/v8/ExceptionMessages.h',
54 'bindings/v8/V8DOMConfiguration.h', 54 'bindings/v8/V8DOMConfiguration.h',
55 'core/dom/ContextFeatures.h', 55 'core/dom/ContextFeatures.h',
56 'core/dom/Document.h', 56 'core/dom/Document.h',
57 'platform/TraceEvent.h', 57 'platform/TraceEvent.h',
58 'wtf/UnusedParam.h',
59 ]) 58 ])
60 59
61 60
62 def generate_interface(interface): 61 def generate_interface(interface):
63 includes.clear() 62 includes.clear()
64 includes.update(INTERFACE_CPP_INCLUDES) 63 includes.update(INTERFACE_CPP_INCLUDES)
65 header_includes = INTERFACE_H_INCLUDES 64 header_includes = INTERFACE_H_INCLUDES
66 65
67 parent_interface = interface.parent 66 parent_interface = interface.parent
68 if parent_interface: 67 if parent_interface:
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 if has_extended_attribute_value(interface, 'ConstructorCallWith', 'Execution Context'): 319 if has_extended_attribute_value(interface, 'ConstructorCallWith', 'Execution Context'):
321 arguments.append('context') 320 arguments.append('context')
322 # [ConstructorCallWith=Document] 321 # [ConstructorCallWith=Document]
323 if has_extended_attribute_value(interface, 'ConstructorCallWith', 'Document' ): 322 if has_extended_attribute_value(interface, 'ConstructorCallWith', 'Document' ):
324 arguments.append('document') 323 arguments.append('document')
325 # FIXME: actual arguments! 324 # FIXME: actual arguments!
326 # [RaisesException=Constructor] 325 # [RaisesException=Constructor]
327 if interface.extended_attributes.get('RaisesException') == 'Constructor': 326 if interface.extended_attributes.get('RaisesException') == 'Constructor':
328 arguments.append('exceptionState') 327 arguments.append('exceptionState')
329 return arguments 328 return arguments
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698