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

Side by Side Diff: include/v8.h

Issue 1434693008: Revert changes introduced in http://crrev.com/1367953002. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | src/api.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4066 matching lines...) Expand 10 before | Expand all | Expand 10 after
4077 PropertyAttribute attributes = None); 4077 PropertyAttribute attributes = None);
4078 V8_INLINE void Set(Isolate* isolate, const char* name, Local<Data> value); 4078 V8_INLINE void Set(Isolate* isolate, const char* name, Local<Data> value);
4079 4079
4080 void SetAccessorProperty( 4080 void SetAccessorProperty(
4081 Local<Name> name, 4081 Local<Name> name,
4082 Local<FunctionTemplate> getter = Local<FunctionTemplate>(), 4082 Local<FunctionTemplate> getter = Local<FunctionTemplate>(),
4083 Local<FunctionTemplate> setter = Local<FunctionTemplate>(), 4083 Local<FunctionTemplate> setter = Local<FunctionTemplate>(),
4084 PropertyAttribute attribute = None, 4084 PropertyAttribute attribute = None,
4085 AccessControl settings = DEFAULT); 4085 AccessControl settings = DEFAULT);
4086 4086
4087 #ifdef V8_JS_ACCESSORS
4088 void SetAccessorProperty(Local<Name> name,
4089 Local<Function> getter = Local<Function>(),
4090 Local<Function> setter = Local<Function>(),
4091 PropertyAttribute attribute = None);
4092 #endif // V8_JS_ACCESSORS
4093
4094 /** 4087 /**
4095 * Whenever the property with the given name is accessed on objects 4088 * Whenever the property with the given name is accessed on objects
4096 * created from this Template the getter and setter callbacks 4089 * created from this Template the getter and setter callbacks
4097 * are called instead of getting and setting the property directly 4090 * are called instead of getting and setting the property directly
4098 * on the JavaScript object. 4091 * on the JavaScript object.
4099 * 4092 *
4100 * \param name The name of the property for which an accessor is added. 4093 * \param name The name of the property for which an accessor is added.
4101 * \param getter The callback to invoke when getting the property. 4094 * \param getter The callback to invoke when getting the property.
4102 * \param setter The callback to invoke when setting the property. 4095 * \param setter The callback to invoke when setting the property.
4103 * \param data A piece of data that will be passed to the getter and setter 4096 * \param data A piece of data that will be passed to the getter and setter
(...skipping 4380 matching lines...) Expand 10 before | Expand all | Expand 10 after
8484 */ 8477 */
8485 8478
8486 8479
8487 } // namespace v8 8480 } // namespace v8
8488 8481
8489 8482
8490 #undef TYPE_CHECK 8483 #undef TYPE_CHECK
8491 8484
8492 8485
8493 #endif // V8_H_ 8486 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698