OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ |
6 #define PPAPI_CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ | 6 #define CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/shared_impl/host_resource.h" | 10 #include "ppapi/shared_impl/host_resource.h" |
11 #include "ppapi/shared_impl/var.h" | 11 #include "ppapi/shared_impl/var.h" |
12 #include "third_party/WebKit/public/web/WebArrayBuffer.h" | 12 #include "third_party/WebKit/public/web/WebArrayBuffer.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // Represents a host-side ArrayBufferVar. | 16 // Represents a host-side ArrayBufferVar. |
(...skipping 19 matching lines...) Expand all Loading... |
36 | 36 |
37 blink::WebArrayBuffer buffer_; | 37 blink::WebArrayBuffer buffer_; |
38 // Tracks whether the data in the buffer is valid. | 38 // Tracks whether the data in the buffer is valid. |
39 bool valid_; | 39 bool valid_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(HostArrayBufferVar); | 41 DISALLOW_COPY_AND_ASSIGN(HostArrayBufferVar); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace content | 44 } // namespace content |
45 | 45 |
46 #endif // PPAPI_CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ | 46 #endif // CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_ |
OLD | NEW |