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 18 matching lines...) Expand all Loading... |
29 #ifndef WebArrayBufferView_h | 29 #ifndef WebArrayBufferView_h |
30 #define WebArrayBufferView_h | 30 #define WebArrayBufferView_h |
31 | 31 |
32 #include "public/platform/WebCommon.h" | 32 #include "public/platform/WebCommon.h" |
33 #include "public/platform/WebPrivatePtr.h" | 33 #include "public/platform/WebPrivatePtr.h" |
34 | 34 |
35 namespace v8 { | 35 namespace v8 { |
36 class Value; | 36 class Value; |
37 template <class T> | 37 template <class T> |
38 class Local; | 38 class Local; |
39 } | 39 } // namespace v8 |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class DOMArrayBufferView; | 43 class DOMArrayBufferView; |
44 | 44 |
45 // Provides access to an ArrayBufferView. | 45 // Provides access to an ArrayBufferView. |
46 class WebArrayBufferView { | 46 class WebArrayBufferView { |
47 public: | 47 public: |
48 ~WebArrayBufferView() { Reset(); } | 48 ~WebArrayBufferView() { Reset(); } |
49 WebArrayBufferView() {} | 49 WebArrayBufferView() {} |
(...skipping 15 matching lines...) Expand all Loading... |
65 operator DOMArrayBufferView*() const; | 65 operator DOMArrayBufferView*() const; |
66 #endif | 66 #endif |
67 | 67 |
68 private: | 68 private: |
69 WebPrivatePtr<DOMArrayBufferView> private_; | 69 WebPrivatePtr<DOMArrayBufferView> private_; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace blink | 72 } // namespace blink |
73 | 73 |
74 #endif // WebArrayBufferView_h | 74 #endif // WebArrayBufferView_h |
OLD | NEW |