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

Side by Side Diff: include/v8.h

Issue 2176063002: Updating comment for Proxy::New function (Closed) Base URL: git@github.com:danbev/v8.git@master
Patch Set: 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 | no next file » | 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 3427 matching lines...) Expand 10 before | Expand all | Expand 10 after
3438 * 26.2.1). 3438 * 26.2.1).
3439 */ 3439 */
3440 class V8_EXPORT Proxy : public Object { 3440 class V8_EXPORT Proxy : public Object {
3441 public: 3441 public:
3442 Local<Object> GetTarget(); 3442 Local<Object> GetTarget();
3443 Local<Value> GetHandler(); 3443 Local<Value> GetHandler();
3444 bool IsRevoked(); 3444 bool IsRevoked();
3445 void Revoke(); 3445 void Revoke();
3446 3446
3447 /** 3447 /**
3448 * Creates a new empty Map. 3448 * Creates a new Proxy for the target object.
3449 */ 3449 */
3450 static MaybeLocal<Proxy> New(Local<Context> context, 3450 static MaybeLocal<Proxy> New(Local<Context> context,
3451 Local<Object> local_target, 3451 Local<Object> local_target,
3452 Local<Object> local_handler); 3452 Local<Object> local_handler);
3453 3453
3454 V8_INLINE static Proxy* Cast(Value* obj); 3454 V8_INLINE static Proxy* Cast(Value* obj);
3455 3455
3456 private: 3456 private:
3457 Proxy(); 3457 Proxy();
3458 static void CheckCast(Value* obj); 3458 static void CheckCast(Value* obj);
(...skipping 5496 matching lines...) Expand 10 before | Expand all | Expand 10 after
8955 */ 8955 */
8956 8956
8957 8957
8958 } // namespace v8 8958 } // namespace v8
8959 8959
8960 8960
8961 #undef TYPE_CHECK 8961 #undef TYPE_CHECK
8962 8962
8963 8963
8964 #endif // INCLUDE_V8_H_ 8964 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698