| OLD | NEW |
| 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1646 */ | 1646 */ |
| 1647 V8EXPORT bool IsDirty(); | 1647 V8EXPORT bool IsDirty(); |
| 1648 | 1648 |
| 1649 /** | 1649 /** |
| 1650 * Clone this object with a fast but shallow copy. Values will point | 1650 * Clone this object with a fast but shallow copy. Values will point |
| 1651 * to the same values as the original object. | 1651 * to the same values as the original object. |
| 1652 */ | 1652 */ |
| 1653 V8EXPORT Local<Object> Clone(); | 1653 V8EXPORT Local<Object> Clone(); |
| 1654 | 1654 |
| 1655 /** | 1655 /** |
| 1656 * Returns the context in which the object was created. |
| 1657 */ |
| 1658 V8EXPORT Local<Context> CreationContext(); |
| 1659 |
| 1660 /** |
| 1656 * Set the backing store of the indexed properties to be managed by the | 1661 * Set the backing store of the indexed properties to be managed by the |
| 1657 * embedding layer. Access to the indexed properties will follow the rules | 1662 * embedding layer. Access to the indexed properties will follow the rules |
| 1658 * spelled out in CanvasPixelArray. | 1663 * spelled out in CanvasPixelArray. |
| 1659 * Note: The embedding program still owns the data and needs to ensure that | 1664 * Note: The embedding program still owns the data and needs to ensure that |
| 1660 * the backing store is preserved while V8 has a reference. | 1665 * the backing store is preserved while V8 has a reference. |
| 1661 */ | 1666 */ |
| 1662 V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length); | 1667 V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length); |
| 1663 V8EXPORT bool HasIndexedPropertiesInPixelData(); | 1668 V8EXPORT bool HasIndexedPropertiesInPixelData(); |
| 1664 V8EXPORT uint8_t* GetIndexedPropertiesPixelData(); | 1669 V8EXPORT uint8_t* GetIndexedPropertiesPixelData(); |
| 1665 V8EXPORT int GetIndexedPropertiesPixelDataLength(); | 1670 V8EXPORT int GetIndexedPropertiesPixelDataLength(); |
| (...skipping 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3986 | 3991 |
| 3987 | 3992 |
| 3988 } // namespace v8 | 3993 } // namespace v8 |
| 3989 | 3994 |
| 3990 | 3995 |
| 3991 #undef V8EXPORT | 3996 #undef V8EXPORT |
| 3992 #undef TYPE_CHECK | 3997 #undef TYPE_CHECK |
| 3993 | 3998 |
| 3994 | 3999 |
| 3995 #endif // V8_H_ | 4000 #endif // V8_H_ |
| OLD | NEW |