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

Side by Side Diff: include/v8.h

Issue 145133013: External Array renaming and boilerplate scrapping (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/api.h » ('j') | src/api.cc » ('J')
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 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 1993
1994 1994
1995 enum PropertyAttribute { 1995 enum PropertyAttribute {
1996 None = 0, 1996 None = 0,
1997 ReadOnly = 1 << 0, 1997 ReadOnly = 1 << 0,
1998 DontEnum = 1 << 1, 1998 DontEnum = 1 << 1,
1999 DontDelete = 1 << 2 1999 DontDelete = 1 << 2
2000 }; 2000 };
2001 2001
2002 enum ExternalArrayType { 2002 enum ExternalArrayType {
2003 kExternalByteArray = 1, 2003 kExternalInt8Array = 1,
2004 kExternalUnsignedByteArray, 2004 kExternalUint8Array,
2005 kExternalShortArray, 2005 kExternalInt16Array,
2006 kExternalUnsignedShortArray, 2006 kExternalUint16Array,
2007 kExternalIntArray, 2007 kExternalInt32Array,
2008 kExternalUnsignedIntArray, 2008 kExternalUint32Array,
2009 kExternalFloatArray, 2009 kExternalFloat32Array,
2010 kExternalDoubleArray, 2010 kExternalFloat64Array,
2011 kExternalPixelArray 2011 kExternalUint8ClampedArray,
2012
2013 // Legacy constant names
2014 kExternalByteArray = kExternalInt8Array,
2015 kExternalUnsignedByteArray = kExternalUint8Array,
2016 kExternalShortArray = kExternalInt16Array,
2017 kExternalUnsignedShortArray = kExternalUint16Array,
2018 kExternalIntArray = kExternalInt32Array,
2019 kExternalUnsignedIntArray = kExternalUint32Array,
2020 kExternalFloatArray = kExternalFloat32Array,
2021 kExternalDoubleArray = kExternalFloat64Array,
2022 kExternalPixelArray = kExternalUint8ClampedArray
2012 }; 2023 };
2013 2024
2014 /** 2025 /**
2015 * Accessor[Getter|Setter] are used as callback functions when 2026 * Accessor[Getter|Setter] are used as callback functions when
2016 * setting|getting a particular property. See Object and ObjectTemplate's 2027 * setting|getting a particular property. See Object and ObjectTemplate's
2017 * method SetAccessor. 2028 * method SetAccessor.
2018 */ 2029 */
2019 typedef void (*AccessorGetterCallback)( 2030 typedef void (*AccessorGetterCallback)(
2020 Local<String> property, 2031 Local<String> property,
2021 const PropertyCallbackInfo<Value>& info); 2032 const PropertyCallbackInfo<Value>& info);
(...skipping 4406 matching lines...) Expand 10 before | Expand all | Expand 10 after
6428 */ 6439 */
6429 6440
6430 6441
6431 } // namespace v8 6442 } // namespace v8
6432 6443
6433 6444
6434 #undef TYPE_CHECK 6445 #undef TYPE_CHECK
6435 6446
6436 6447
6437 #endif // V8_H_ 6448 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.h » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698