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 #include "ppapi/proxy/ppb_opengles2_proxy.h" | 5 #include "ppapi/proxy/ppb_opengles2_proxy.h" |
6 | 6 |
7 #include "ppapi/shared_impl/opengles2_impl.h" | 7 #include "ppapi/shared_impl/opengles2_impl.h" |
8 | 8 |
9 namespace pp { | 9 namespace ppapi { |
10 namespace proxy { | 10 namespace proxy { |
11 | 11 |
12 namespace { | 12 namespace { |
13 InterfaceProxy* CreateOpenGLES2Proxy(Dispatcher* dispatcher, | 13 InterfaceProxy* CreateOpenGLES2Proxy(Dispatcher* dispatcher, |
14 const void* target_interface) { | 14 const void* target_interface) { |
15 return new PPB_OpenGLES2_Proxy(dispatcher, target_interface); | 15 return new PPB_OpenGLES2_Proxy(dispatcher, target_interface); |
16 } | 16 } |
17 } // namespace | 17 } // namespace |
18 | 18 |
19 PPB_OpenGLES2_Proxy::PPB_OpenGLES2_Proxy(Dispatcher* dispatcher, | 19 PPB_OpenGLES2_Proxy::PPB_OpenGLES2_Proxy(Dispatcher* dispatcher, |
(...skipping 14 matching lines...) Expand all Loading... |
34 &CreateOpenGLES2Proxy, | 34 &CreateOpenGLES2Proxy, |
35 }; | 35 }; |
36 return &info; | 36 return &info; |
37 } | 37 } |
38 | 38 |
39 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { | 39 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 } // namespace proxy | 43 } // namespace proxy |
44 } // namespace pp | 44 } // namespace ppapi |
OLD | NEW |