| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ | 5 #ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ |
| 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ | 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "mojo/public/gles2/gles2_types.h" | 10 #include "mojo/public/c/gles2/gles2_types.h" |
| 11 #include "ppapi/shared_impl/resource.h" | 11 #include "ppapi/shared_impl/resource.h" |
| 12 #include "ppapi/shared_impl/tracked_callback.h" | 12 #include "ppapi/shared_impl/tracked_callback.h" |
| 13 #include "ppapi/thunk/ppb_graphics_3d_api.h" | 13 #include "ppapi/thunk/ppb_graphics_3d_api.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 namespace examples { | 16 namespace examples { |
| 17 | 17 |
| 18 class Graphics3DResource : public ppapi::Resource, | 18 class Graphics3DResource : public ppapi::Resource, |
| 19 public ppapi::thunk::PPB_Graphics3D_API { | 19 public ppapi::thunk::PPB_Graphics3D_API { |
| 20 public: | 20 public: |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void ContextLost(); | 66 void ContextLost(); |
| 67 | 67 |
| 68 MojoGLES2Context context_; | 68 MojoGLES2Context context_; |
| 69 DISALLOW_COPY_AND_ASSIGN(Graphics3DResource); | 69 DISALLOW_COPY_AND_ASSIGN(Graphics3DResource); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace examples | 72 } // namespace examples |
| 73 } // namespace mojo | 73 } // namespace mojo |
| 74 | 74 |
| 75 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ | 75 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_GRAPHICS_3D_RESOURCE_H_ |
| OLD | NEW |