OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 BLINK_EXPORT void* baseAddress() const; | 51 BLINK_EXPORT void* baseAddress() const; |
52 BLINK_EXPORT unsigned byteOffset() const; | 52 BLINK_EXPORT unsigned byteOffset() const; |
53 BLINK_EXPORT unsigned byteLength() const; | 53 BLINK_EXPORT unsigned byteLength() const; |
54 | 54 |
55 BLINK_EXPORT void assign(const WebArrayBufferView&); | 55 BLINK_EXPORT void assign(const WebArrayBufferView&); |
56 BLINK_EXPORT void reset(); | 56 BLINK_EXPORT void reset(); |
57 | 57 |
58 BLINK_EXPORT static WebArrayBufferView* createFromV8Value(v8::Local<v8::Valu
e>); | 58 BLINK_EXPORT static WebArrayBufferView* createFromV8Value(v8::Local<v8::Valu
e>); |
59 | 59 |
60 #if BLINK_IMPLEMENTATION | 60 #if BLINK_IMPLEMENTATION |
61 WebArrayBufferView(const WTF::PassRefPtr<DOMArrayBufferView>&); | 61 WebArrayBufferView(DOMArrayBufferView*); |
62 WebArrayBufferView& operator=(const WTF::PassRefPtr<DOMArrayBufferView>&); | 62 WebArrayBufferView& operator=(DOMArrayBufferView*); |
63 operator WTF::PassRefPtr<DOMArrayBufferView>() const; | 63 operator DOMArrayBufferView*() const; |
64 #endif | 64 #endif |
65 | 65 |
66 private: | 66 private: |
67 WebPrivatePtr<DOMArrayBufferView> m_private; | 67 WebPrivatePtr<DOMArrayBufferView> m_private; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // WebArrayBufferView_h | 72 #endif // WebArrayBufferView_h |
OLD | NEW |