| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ppapi/proxy/ppb_opengles2_proxy.h" | |
| 6 | |
| 7 #include "ppapi/shared_impl/opengles2_impl.h" | |
| 8 | |
| 9 namespace ppapi { | |
| 10 namespace proxy { | |
| 11 | |
| 12 namespace { | |
| 13 InterfaceProxy* CreateOpenGLES2Proxy(Dispatcher* dispatcher, | |
| 14 const void* target_interface) { | |
| 15 return new PPB_OpenGLES2_Proxy(dispatcher, target_interface); | |
| 16 } | |
| 17 } // namespace | |
| 18 | |
| 19 PPB_OpenGLES2_Proxy::PPB_OpenGLES2_Proxy(Dispatcher* dispatcher, | |
| 20 const void* target_interface) | |
| 21 : InterfaceProxy(dispatcher, target_interface) { | |
| 22 } | |
| 23 | |
| 24 PPB_OpenGLES2_Proxy::~PPB_OpenGLES2_Proxy() { | |
| 25 } | |
| 26 | |
| 27 // static | |
| 28 const InterfaceProxy::Info* PPB_OpenGLES2_Proxy::GetInfo() { | |
| 29 static const Info info = { | |
| 30 ppapi::OpenGLES2Impl::GetInterface(), | |
| 31 PPB_OPENGLES2_DEV_INTERFACE, | |
| 32 INTERFACE_ID_PPB_OPENGLES2, | |
| 33 false, | |
| 34 &CreateOpenGLES2Proxy, | |
| 35 }; | |
| 36 return &info; | |
| 37 } | |
| 38 | |
| 39 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { | |
| 40 return false; | |
| 41 } | |
| 42 | |
| 43 } // namespace proxy | |
| 44 } // namespace ppapi | |
| OLD | NEW |