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

Side by Side Diff: include/v8.h

Issue 2220993003: [api] Templatize do_callback parameter in CallDepthScope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: formatting Created 4 years, 4 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 | « 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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 ~SealHandleScope(); 950 ~SealHandleScope();
951 951
952 private: 952 private:
953 // Make it hard to create heap-allocated or illegal handle scopes by 953 // Make it hard to create heap-allocated or illegal handle scopes by
954 // disallowing certain operations. 954 // disallowing certain operations.
955 SealHandleScope(const SealHandleScope&); 955 SealHandleScope(const SealHandleScope&);
956 void operator=(const SealHandleScope&); 956 void operator=(const SealHandleScope&);
957 void* operator new(size_t size); 957 void* operator new(size_t size);
958 void operator delete(void*, size_t); 958 void operator delete(void*, size_t);
959 959
960 internal::Isolate* isolate_; 960 internal::Isolate* const isolate_;
961 internal::Object** prev_limit_; 961 internal::Object** prev_limit_;
962 int prev_sealed_level_; 962 int prev_sealed_level_;
963 }; 963 };
964 964
965 965
966 // --- Special objects --- 966 // --- Special objects ---
967 967
968 968
969 /** 969 /**
970 * The superclass of values and API object templates. 970 * The superclass of values and API object templates.
(...skipping 4716 matching lines...) Expand 10 before | Expand all | Expand 10 after
5687 /** 5687 /**
5688 * Do not run microtasks while this scope is active, even if microtasks are 5688 * Do not run microtasks while this scope is active, even if microtasks are
5689 * automatically executed otherwise. 5689 * automatically executed otherwise.
5690 */ 5690 */
5691 class V8_EXPORT SuppressMicrotaskExecutionScope { 5691 class V8_EXPORT SuppressMicrotaskExecutionScope {
5692 public: 5692 public:
5693 explicit SuppressMicrotaskExecutionScope(Isolate* isolate); 5693 explicit SuppressMicrotaskExecutionScope(Isolate* isolate);
5694 ~SuppressMicrotaskExecutionScope(); 5694 ~SuppressMicrotaskExecutionScope();
5695 5695
5696 private: 5696 private:
5697 internal::Isolate* isolate_; 5697 internal::Isolate* const isolate_;
5698 5698
5699 // Prevent copying of Scope objects. 5699 // Prevent copying of Scope objects.
5700 SuppressMicrotaskExecutionScope(const SuppressMicrotaskExecutionScope&); 5700 SuppressMicrotaskExecutionScope(const SuppressMicrotaskExecutionScope&);
5701 SuppressMicrotaskExecutionScope& operator=( 5701 SuppressMicrotaskExecutionScope& operator=(
5702 const SuppressMicrotaskExecutionScope&); 5702 const SuppressMicrotaskExecutionScope&);
5703 }; 5703 };
5704 5704
5705 /** 5705 /**
5706 * Types of garbage collections that can be requested via 5706 * Types of garbage collections that can be requested via
5707 * RequestGarbageCollectionForTesting. 5707 * RequestGarbageCollectionForTesting.
(...skipping 3258 matching lines...) Expand 10 before | Expand all | Expand 10 after
8966 */ 8966 */
8967 8967
8968 8968
8969 } // namespace v8 8969 } // namespace v8
8970 8970
8971 8971
8972 #undef TYPE_CHECK 8972 #undef TYPE_CHECK
8973 8973
8974 8974
8975 #endif // INCLUDE_V8_H_ 8975 #endif // INCLUDE_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