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

Side by Side Diff: sky/engine/bindings/scripts/v8_interface.py

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 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 | « sky/engine/bindings/scripts/v8_globals.py ('k') | sky/engine/bindings/scripts/v8_methods.py » ('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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 from v8_utilities import (capitalize, cpp_name, 49 from v8_utilities import (capitalize, cpp_name,
50 has_extended_attribute_value, 50 has_extended_attribute_value,
51 extended_attribute_value_as_list) 51 extended_attribute_value_as_list)
52 52
53 53
54 INTERFACE_H_INCLUDES = frozenset([ 54 INTERFACE_H_INCLUDES = frozenset([
55 'platform/heap/Handle.h', 55 'platform/heap/Handle.h',
56 ]) 56 ])
57 57
58 INTERFACE_CPP_INCLUDES = frozenset([ 58 INTERFACE_CPP_INCLUDES = frozenset([
59 'sky/engine/bindings2/exception_state.h', 59 'sky/engine/bindings/exception_state.h',
60 'core/dom/Document.h', 60 'core/dom/Document.h',
61 'base/trace_event/trace_event.h', 61 'base/trace_event/trace_event.h',
62 'wtf/GetPtr.h', 62 'wtf/GetPtr.h',
63 'wtf/RefPtr.h', 63 'wtf/RefPtr.h',
64 ]) 64 ])
65 65
66 66
67 def interface_context(interface): 67 def interface_context(interface):
68 includes.clear() 68 includes.clear()
69 includes.update(INTERFACE_CPP_INCLUDES) 69 includes.update(INTERFACE_CPP_INCLUDES)
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 deleter = next( 885 deleter = next(
886 method 886 method
887 for method in interface.operations 887 for method in interface.operations
888 if ('deleter' in method.specials and 888 if ('deleter' in method.specials and
889 len(method.arguments) == 1 and 889 len(method.arguments) == 1 and
890 str(method.arguments[0].idl_type) == 'DOMString')) 890 str(method.arguments[0].idl_type) == 'DOMString'))
891 except StopIteration: 891 except StopIteration:
892 return None 892 return None
893 893
894 return property_deleter(deleter) 894 return property_deleter(deleter)
OLDNEW
« no previous file with comments | « sky/engine/bindings/scripts/v8_globals.py ('k') | sky/engine/bindings/scripts/v8_methods.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698