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_THUNK_INSTANCE_API_H_ | 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_ |
6 #define PPAPI_THUNK_INSTANCE_API_H_ | 6 #define PPAPI_THUNK_INSTANCE_API_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_url_util_dev.h" | 8 #include "ppapi/c/dev/ppb_url_util_dev.h" |
9 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
10 #include "ppapi/c/ppb_instance.h" | 10 #include "ppapi/c/ppb_instance.h" |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_size.h" | 12 #include "ppapi/c/pp_size.h" |
13 #include "ppapi/c/private/ppb_instance_private.h" | 13 #include "ppapi/c/private/ppb_instance_private.h" |
14 #include "ppapi/proxy/interface_id.h" | 14 #include "ppapi/proxy/interface_id.h" |
15 | 15 |
16 // Windows headers interfere with this file. | |
17 #ifdef PostMessage | |
18 #undef PostMessage | |
viettrungluu
2011/10/20 23:29:46
"
| |
19 #endif | |
20 | |
16 namespace ppapi { | 21 namespace ppapi { |
17 namespace thunk { | 22 namespace thunk { |
18 | 23 |
19 class PPB_Instance_FunctionAPI { | 24 class PPB_Instance_FunctionAPI { |
20 public: | 25 public: |
21 virtual ~PPB_Instance_FunctionAPI() {} | 26 virtual ~PPB_Instance_FunctionAPI() {} |
22 | 27 |
23 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; | 28 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; |
24 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; | 29 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; |
25 | 30 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
100 PP_URLComponents_Dev* components) = 0; | 105 PP_URLComponents_Dev* components) = 0; |
101 | 106 |
102 static const proxy::InterfaceID interface_id = | 107 static const proxy::InterfaceID interface_id = |
103 proxy::INTERFACE_ID_PPB_INSTANCE; | 108 proxy::INTERFACE_ID_PPB_INSTANCE; |
104 }; | 109 }; |
105 | 110 |
106 } // namespace thunk | 111 } // namespace thunk |
107 } // namespace ppapi | 112 } // namespace ppapi |
108 | 113 |
109 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 114 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
OLD | NEW |