| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ | 5 #ifndef MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ |
| 6 #define MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ | 6 #define MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "mojo/examples/sample_app/spinning_cube.h" | 8 #include "mojo/examples/sample_app/spinning_cube.h" |
| 9 #include "mojo/public/bindings/remote_ptr.h" | 9 #include "mojo/public/bindings/remote_ptr.h" |
| 10 #include "mojo/public/gles2/gles2.h" | 10 #include "mojo/public/c/gles2/gles2.h" |
| 11 #include "mojo/services/native_viewport/native_viewport.mojom.h" | 11 #include "mojo/services/native_viewport/native_viewport.mojom.h" |
| 12 #include "ui/gfx/point_f.h" | 12 #include "ui/gfx/point_f.h" |
| 13 #include "ui/gfx/size.h" | 13 #include "ui/gfx/size.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 namespace examples { | 16 namespace examples { |
| 17 | 17 |
| 18 class GLES2ClientImpl { | 18 class GLES2ClientImpl { |
| 19 public: | 19 public: |
| 20 explicit GLES2ClientImpl(ScopedMessagePipeHandle pipe); | 20 explicit GLES2ClientImpl(ScopedMessagePipeHandle pipe); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 MojoGLES2Context context_; | 43 MojoGLES2Context context_; |
| 44 | 44 |
| 45 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl); | 45 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace examples | 48 } // namespace examples |
| 49 } // namespace mojo | 49 } // namespace mojo |
| 50 | 50 |
| 51 #endif // MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ | 51 #endif // MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ |
| OLD | NEW |