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

Side by Side Diff: Source/bindings/core/v8/V8DOMConfiguration.h

Issue 1202683002: bindings: Supports per-member [Exposed] for attributes on prototype. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8DOMConfiguration.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 v8::PropertyAttribute attribute; 94 v8::PropertyAttribute attribute;
95 unsigned exposeConfiguration : 1; // ExposeConfiguration 95 unsigned exposeConfiguration : 1; // ExposeConfiguration
96 unsigned propertyLocationConfiguration : 3; // PropertyLocationConfigura tion 96 unsigned propertyLocationConfiguration : 3; // PropertyLocationConfigura tion
97 unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration 97 unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration
98 }; 98 };
99 99
100 static void installAccessors(v8::Isolate*, v8::Local<v8::ObjectTemplate> ins tanceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Fu nctionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const AccessorConfi guration*, size_t accessorCount); 100 static void installAccessors(v8::Isolate*, v8::Local<v8::ObjectTemplate> ins tanceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Fu nctionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const AccessorConfi guration*, size_t accessorCount);
101 101
102 static void installAccessor(v8::Isolate*, v8::Local<v8::ObjectTemplate> inst anceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Fun ctionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const AccessorConfig uration&); 102 static void installAccessor(v8::Isolate*, v8::Local<v8::ObjectTemplate> inst anceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Fun ctionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const AccessorConfig uration&);
103 103
104 static void installAccessor(v8::Isolate*, v8::Local<v8::Object> instance, v8 ::Local<v8::Object> prototype, v8::Local<v8::Function> interface, v8::Local<v8:: Signature>, const AccessorConfiguration&);
105
104 enum ConstantType { 106 enum ConstantType {
105 ConstantTypeShort, 107 ConstantTypeShort,
106 ConstantTypeLong, 108 ConstantTypeLong,
107 ConstantTypeUnsignedShort, 109 ConstantTypeUnsignedShort,
108 ConstantTypeUnsignedLong, 110 ConstantTypeUnsignedLong,
109 ConstantTypeFloat, 111 ConstantTypeFloat,
110 ConstantTypeDouble, 112 ConstantTypeDouble,
111 ConstantTypeString 113 ConstantTypeString
112 }; 114 };
113 115
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const AttributeConfiguration*, size_t attributeCount, 181 const AttributeConfiguration*, size_t attributeCount,
180 const AccessorConfiguration*, size_t accessorCount, 182 const AccessorConfiguration*, size_t accessorCount,
181 const MethodConfiguration*, size_t callbackCount); 183 const MethodConfiguration*, size_t callbackCount);
182 184
183 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*)); 185 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*));
184 }; 186 };
185 187
186 } // namespace blink 188 } // namespace blink
187 189
188 #endif // V8DOMConfiguration_h 190 #endif // V8DOMConfiguration_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8DOMConfiguration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698