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_PROXY_PPP_GRAPHICS_3D_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPP_GRAPHICS_3D_PROXY_H_ |
6 #define PPAPI_PROXY_PPP_GRAPHICS_3D_PROXY_H_ | 6 #define PPAPI_PROXY_PPP_GRAPHICS_3D_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/proxy/host_resource.h" | |
10 #include "ppapi/proxy/interface_proxy.h" | 9 #include "ppapi/proxy/interface_proxy.h" |
11 | 10 |
12 struct PPP_Graphics3D_Dev; | 11 struct PPP_Graphics3D_Dev; |
13 | 12 |
14 namespace pp { | 13 namespace pp { |
15 namespace proxy { | 14 namespace proxy { |
16 | 15 |
17 class PPP_Graphics3D_Proxy : public InterfaceProxy { | 16 class PPP_Graphics3D_Proxy : public InterfaceProxy { |
18 public: | 17 public: |
19 PPP_Graphics3D_Proxy(Dispatcher* dispatcher, const void* target_interface); | 18 PPP_Graphics3D_Proxy(Dispatcher* dispatcher, const void* target_interface); |
(...skipping 10 matching lines...) Expand all Loading... |
30 | 29 |
31 private: | 30 private: |
32 // Message handlers. | 31 // Message handlers. |
33 void OnMsgContextLost(PP_Instance instance); | 32 void OnMsgContextLost(PP_Instance instance); |
34 }; | 33 }; |
35 | 34 |
36 } // namespace proxy | 35 } // namespace proxy |
37 } // namespace pp | 36 } // namespace pp |
38 | 37 |
39 #endif // PPAPI_PROXY_PPP_GRAPHICS_3D_PROXY_H_ | 38 #endif // PPAPI_PROXY_PPP_GRAPHICS_3D_PROXY_H_ |
OLD | NEW |