OLD | NEW |
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 4741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4752 /** | 4752 /** |
4753 * Sets access check callback on the object template and enables access | 4753 * Sets access check callback on the object template and enables access |
4754 * checks. | 4754 * checks. |
4755 * | 4755 * |
4756 * When accessing properties on instances of this object template, | 4756 * When accessing properties on instances of this object template, |
4757 * the access check callback will be called to determine whether or | 4757 * the access check callback will be called to determine whether or |
4758 * not to allow cross-context access to the properties. | 4758 * not to allow cross-context access to the properties. |
4759 */ | 4759 */ |
4760 void SetAccessCheckCallback(AccessCheckCallback callback, | 4760 void SetAccessCheckCallback(AccessCheckCallback callback, |
4761 Local<Value> data = Local<Value>()); | 4761 Local<Value> data = Local<Value>()); |
4762 V8_DEPRECATE_SOON( | 4762 V8_DEPRECATED( |
4763 "Use SetAccessCheckCallback with new AccessCheckCallback signature.", | 4763 "Use SetAccessCheckCallback with new AccessCheckCallback signature.", |
4764 void SetAccessCheckCallback(DeprecatedAccessCheckCallback callback, | 4764 void SetAccessCheckCallback(DeprecatedAccessCheckCallback callback, |
4765 Local<Value> data = Local<Value>())); | 4765 Local<Value> data = Local<Value>())); |
4766 | 4766 |
4767 V8_DEPRECATED( | 4767 V8_DEPRECATED( |
4768 "Use SetAccessCheckCallback instead", | 4768 "Use SetAccessCheckCallback instead", |
4769 void SetAccessCheckCallbacks(NamedSecurityCallback named_handler, | 4769 void SetAccessCheckCallbacks(NamedSecurityCallback named_handler, |
4770 IndexedSecurityCallback indexed_handler, | 4770 IndexedSecurityCallback indexed_handler, |
4771 Local<Value> data = Local<Value>())); | 4771 Local<Value> data = Local<Value>())); |
4772 | 4772 |
(...skipping 3765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8538 */ | 8538 */ |
8539 | 8539 |
8540 | 8540 |
8541 } // namespace v8 | 8541 } // namespace v8 |
8542 | 8542 |
8543 | 8543 |
8544 #undef TYPE_CHECK | 8544 #undef TYPE_CHECK |
8545 | 8545 |
8546 | 8546 |
8547 #endif // INCLUDE_V8_H_ | 8547 #endif // INCLUDE_V8_H_ |
OLD | NEW |