Index: ppapi/shared_impl/ppb_graphics_3d_shared.h |
diff --git a/ppapi/shared_impl/graphics_3d_impl.h b/ppapi/shared_impl/ppb_graphics_3d_shared.h |
similarity index 92% |
rename from ppapi/shared_impl/graphics_3d_impl.h |
rename to ppapi/shared_impl/ppb_graphics_3d_shared.h |
index 07fe967f1ee11c4242993ed3df5c3d7db0b254da..28c32c9d7d507dff50474ec466c3752fc8e97c4f 100644 |
--- a/ppapi/shared_impl/graphics_3d_impl.h |
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.h |
@@ -21,7 +21,8 @@ class GLES2Implementation; |
namespace ppapi { |
-class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API { |
+class PPAPI_SHARED_EXPORT PPB_Graphics3D_Shared |
+ : public thunk::PPB_Graphics3D_API { |
yzshen1
2011/12/03 00:29:04
nit: wrong indent.
|
public: |
// PPB_Graphics3D_API implementation. |
virtual int32_t GetAttribs(int32_t* attrib_list) OVERRIDE; |
@@ -48,8 +49,8 @@ class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API { |
void SwapBuffersACK(int32_t pp_error); |
protected: |
- Graphics3DImpl(); |
- virtual ~Graphics3DImpl(); |
+ PPB_Graphics3D_Shared(); |
+ virtual ~PPB_Graphics3D_Shared(); |
virtual gpu::CommandBuffer* GetCommandBuffer() = 0; |
virtual int32 DoSwapBuffers() = 0; |
@@ -67,7 +68,7 @@ class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API { |
// Callback that needs to be executed when swap-buffers is completed. |
PP_CompletionCallback swap_callback_; |
- DISALLOW_COPY_AND_ASSIGN(Graphics3DImpl); |
+ DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Shared); |
}; |
} // namespace ppapi |