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_SHARED_IMPL_PPB_VAR_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ |
6 #define PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ |
7 | 7 |
8 #include "ppapi/c/pp_module.h" | 8 #include "ppapi/c/pp_module.h" |
9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
10 #include "ppapi/c/ppb_var.h" | 10 #include "ppapi/c/ppb_var.h" |
11 #include "ppapi/c/ppb_var_array_buffer.h" | 11 #include "ppapi/c/ppb_var_array_buffer.h" |
12 #include "ppapi/shared_impl/ppapi_shared_export.h" | 12 #include "ppapi/shared_impl/ppapi_shared_export.h" |
13 | 13 |
14 struct PP_Var; | |
15 | |
16 namespace ppapi { | 14 namespace ppapi { |
17 | 15 |
18 class PPAPI_SHARED_EXPORT PPB_Var_Shared { | 16 class PPAPI_SHARED_EXPORT PPB_Var_Shared { |
19 public: | 17 public: |
20 static const PPB_Var_1_2* GetVarInterface1_2(); | 18 static const PPB_Var_1_2* GetVarInterface1_2(); |
21 static const PPB_Var_1_1* GetVarInterface1_1(); | 19 static const PPB_Var_1_1* GetVarInterface1_1(); |
22 static const PPB_Var_1_0* GetVarInterface1_0(); | 20 static const PPB_Var_1_0* GetVarInterface1_0(); |
23 static const PPB_VarArrayBuffer_1_0* GetVarArrayBufferInterface1_0(); | 21 static const PPB_VarArrayBuffer_1_0* GetVarArrayBufferInterface1_0(); |
24 }; | 22 }; |
25 | 23 |
26 } // namespace ppapi | 24 } // namespace ppapi |
27 | 25 |
28 #endif // PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ | 26 #endif // PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ |
OLD | NEW |