| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 11 #include "ppapi/c/dev/ppb_var_array_buffer_dev.h" |
| 10 #include "ppapi/shared_impl/ppapi_shared_export.h" | 12 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 11 | 13 |
| 12 struct PP_Var; | 14 struct PP_Var; |
| 13 struct PPB_Var; | |
| 14 struct PPB_Var_1_0; | |
| 15 struct PPB_VarArrayBuffer_Dev; | |
| 16 | 15 |
| 17 namespace ppapi { | 16 namespace ppapi { |
| 18 | 17 |
| 19 class PPAPI_SHARED_EXPORT PPB_Var_Shared { | 18 class PPAPI_SHARED_EXPORT PPB_Var_Shared { |
| 20 public: | 19 public: |
| 21 static const PPB_Var* GetVarInterface(); | 20 static const PPB_Var_1_1* GetVarInterface1_1(); |
| 22 static const PPB_Var_1_0* GetVarInterface1_0(); | 21 static const PPB_Var_1_0* GetVarInterface1_0(); |
| 23 static const PPB_VarArrayBuffer_Dev* GetVarArrayBufferInterface(); | 22 static const PPB_VarArrayBuffer_Dev* GetVarArrayBufferInterface(); |
| 24 }; | 23 }; |
| 25 | 24 |
| 26 } // namespace ppapi | 25 } // namespace ppapi |
| 27 | 26 |
| 28 #endif // PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ | 27 #endif // PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_ |
| OLD | NEW |