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

Side by Side Diff: include/v8.h

Issue 130213009: Various extension-related cleanup and simplifications. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Whitespace Created 6 years, 11 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/bootstrapper.h » ('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 3700 matching lines...) Expand 10 before | Expand all | Expand 10 after
3711 3711
3712 // Disallow copying and assigning. 3712 // Disallow copying and assigning.
3713 Extension(const Extension&); 3713 Extension(const Extension&);
3714 void operator=(const Extension&); 3714 void operator=(const Extension&);
3715 }; 3715 };
3716 3716
3717 3717
3718 void V8_EXPORT RegisterExtension(Extension* extension); 3718 void V8_EXPORT RegisterExtension(Extension* extension);
3719 3719
3720 3720
3721 /**
3722 * Ignore
3723 */
3724 class V8_EXPORT DeclareExtension {
3725 public:
3726 V8_INLINE DeclareExtension(Extension* extension) {
3727 RegisterExtension(extension);
3728 }
3729 };
3730
3731
3732 // --- Statics --- 3721 // --- Statics ---
3733 3722
3734 V8_INLINE Handle<Primitive> Undefined(Isolate* isolate); 3723 V8_INLINE Handle<Primitive> Undefined(Isolate* isolate);
3735 V8_INLINE Handle<Primitive> Null(Isolate* isolate); 3724 V8_INLINE Handle<Primitive> Null(Isolate* isolate);
3736 V8_INLINE Handle<Boolean> True(Isolate* isolate); 3725 V8_INLINE Handle<Boolean> True(Isolate* isolate);
3737 V8_INLINE Handle<Boolean> False(Isolate* isolate); 3726 V8_INLINE Handle<Boolean> False(Isolate* isolate);
3738 3727
3739 3728
3740 /** 3729 /**
3741 * A set of constraints that specifies the limits of the runtime's memory use. 3730 * A set of constraints that specifies the limits of the runtime's memory use.
(...skipping 2693 matching lines...) Expand 10 before | Expand all | Expand 10 after
6435 */ 6424 */
6436 6425
6437 6426
6438 } // namespace v8 6427 } // namespace v8
6439 6428
6440 6429
6441 #undef TYPE_CHECK 6430 #undef TYPE_CHECK
6442 6431
6443 6432
6444 #endif // V8_H_ 6433 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698