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

Side by Side Diff: include/v8.h

Issue 261413003: Drop unused static microtask API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | 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 4733 matching lines...) Expand 10 before | Expand all | Expand 10 after
4744 static void AddMemoryAllocationCallback(MemoryAllocationCallback callback, 4744 static void AddMemoryAllocationCallback(MemoryAllocationCallback callback,
4745 ObjectSpace space, 4745 ObjectSpace space,
4746 AllocationAction action); 4746 AllocationAction action);
4747 4747
4748 /** 4748 /**
4749 * Removes callback that was installed by AddMemoryAllocationCallback. 4749 * Removes callback that was installed by AddMemoryAllocationCallback.
4750 */ 4750 */
4751 static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callback); 4751 static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callback);
4752 4752
4753 /** 4753 /**
4754 * Experimental: Runs the Microtask Work Queue until empty
4755 *
4756 * Deprecated: Use methods on Isolate instead.
4757 */
4758 static void RunMicrotasks(Isolate* isolate);
4759
4760 /**
4761 * Experimental: Enqueues the callback to the Microtask Work Queue
4762 *
4763 * Deprecated: Use methods on Isolate instead.
4764 */
4765 static void EnqueueMicrotask(Isolate* isolate, Handle<Function> microtask);
4766
4767 /**
4768 * Experimental: Controls whether the Microtask Work Queue is automatically
4769 * run when the script call depth decrements to zero.
4770 *
4771 * Deprecated: Use methods on Isolate instead.
4772 */
4773 static void SetAutorunMicrotasks(Isolate *source, bool autorun);
4774
4775 /**
4776 * Initializes from snapshot if possible. Otherwise, attempts to 4754 * Initializes from snapshot if possible. Otherwise, attempts to
4777 * initialize from scratch. This function is called implicitly if 4755 * initialize from scratch. This function is called implicitly if
4778 * you use the API without calling it first. 4756 * you use the API without calling it first.
4779 */ 4757 */
4780 static bool Initialize(); 4758 static bool Initialize();
4781 4759
4782 /** 4760 /**
4783 * Allows the host application to provide a callback which can be used 4761 * Allows the host application to provide a callback which can be used
4784 * as a source of entropy for random number generators. 4762 * as a source of entropy for random number generators.
4785 */ 4763 */
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
6623 */ 6601 */
6624 6602
6625 6603
6626 } // namespace v8 6604 } // namespace v8
6627 6605
6628 6606
6629 #undef TYPE_CHECK 6607 #undef TYPE_CHECK
6630 6608
6631 6609
6632 #endif // V8_H_ 6610 #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