OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SHARED_IMPL_ARRAY_VAR_H_ | 5 #ifndef PPAPI_SHARED_IMPL_ARRAY_VAR_H_ |
6 #define PPAPI_SHARED_IMPL_ARRAY_VAR_H_ | 6 #define PPAPI_SHARED_IMPL_ARRAY_VAR_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
12 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
13 #include "ppapi/shared_impl/ppapi_shared_export.h" | 15 #include "ppapi/shared_impl/ppapi_shared_export.h" |
14 #include "ppapi/shared_impl/scoped_pp_var.h" | 16 #include "ppapi/shared_impl/scoped_pp_var.h" |
15 #include "ppapi/shared_impl/var.h" | 17 #include "ppapi/shared_impl/var.h" |
16 | 18 |
17 namespace ppapi { | 19 namespace ppapi { |
18 | 20 |
19 class PPAPI_SHARED_EXPORT ArrayVar : public Var { | 21 class PPAPI_SHARED_EXPORT ArrayVar : public Var { |
20 public: | 22 public: |
21 typedef std::vector<ScopedPPVar> ElementVector; | 23 typedef std::vector<ScopedPPVar> ElementVector; |
(...skipping 24 matching lines...) Expand all Loading... |
46 | 48 |
47 private: | 49 private: |
48 ElementVector elements_; | 50 ElementVector elements_; |
49 | 51 |
50 DISALLOW_COPY_AND_ASSIGN(ArrayVar); | 52 DISALLOW_COPY_AND_ASSIGN(ArrayVar); |
51 }; | 53 }; |
52 | 54 |
53 } // namespace ppapi | 55 } // namespace ppapi |
54 | 56 |
55 #endif // PPAPI_SHARED_IMPL_ARRAY_VAR_H_ | 57 #endif // PPAPI_SHARED_IMPL_ARRAY_VAR_H_ |
OLD | NEW |