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

Side by Side Diff: include/v8.h

Issue 64643008: api: add {Function,Object}Template::GetIsolate()
Patch Set: Created 7 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3097 matching lines...) Expand 10 before | Expand all | Expand 10 after
3108 AccessControl settings = DEFAULT); 3108 AccessControl settings = DEFAULT);
3109 3109
3110 // This function is not yet stable and should not be used at this time. 3110 // This function is not yet stable and should not be used at this time.
3111 bool SetDeclaredAccessor(Local<String> name, 3111 bool SetDeclaredAccessor(Local<String> name,
3112 Local<DeclaredAccessorDescriptor> descriptor, 3112 Local<DeclaredAccessorDescriptor> descriptor,
3113 PropertyAttribute attribute = None, 3113 PropertyAttribute attribute = None,
3114 Local<AccessorSignature> signature = 3114 Local<AccessorSignature> signature =
3115 Local<AccessorSignature>(), 3115 Local<AccessorSignature>(),
3116 AccessControl settings = DEFAULT); 3116 AccessControl settings = DEFAULT);
3117 3117
3118 /** Returns the isolate associated with the template. */
3119 v8::Isolate* GetIsolate();
3120
3118 private: 3121 private:
3119 Template(); 3122 Template();
3120 3123
3121 friend class ObjectTemplate; 3124 friend class ObjectTemplate;
3122 friend class FunctionTemplate; 3125 friend class FunctionTemplate;
3123 }; 3126 };
3124 3127
3125 3128
3126 /** 3129 /**
3127 * NamedProperty[Getter|Setter] are used as interceptors on object. 3130 * NamedProperty[Getter|Setter] are used as interceptors on object.
(...skipping 3377 matching lines...) Expand 10 before | Expand all | Expand 10 after
6505 */ 6508 */
6506 6509
6507 6510
6508 } // namespace v8 6511 } // namespace v8
6509 6512
6510 6513
6511 #undef TYPE_CHECK 6514 #undef TYPE_CHECK
6512 6515
6513 6516
6514 #endif // V8_H_ 6517 #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