| 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_APPS_JS_BINDINGS_GL_CONTEXT_H_ | 5 #ifndef MOJO_SERVICES_JS_MODULES_GL_CONTEXT_H_ |
| 6 #define MOJO_APPS_JS_BINDINGS_GL_CONTEXT_H_ | 6 #define MOJO_SERVICES_JS_MODULES_GL_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "gin/handle.h" | 11 #include "gin/handle.h" |
| 12 #include "gin/public/wrapper_info.h" | 12 #include "gin/public/wrapper_info.h" |
| 13 #include "gin/runner.h" | 13 #include "gin/runner.h" |
| 14 #include "gin/wrappable.h" | 14 #include "gin/wrappable.h" |
| 15 #include "mojo/edk/js/handle.h" | 15 #include "mojo/edk/js/handle.h" |
| 16 #include "mojo/public/c/gles2/gles2.h" | 16 #include "mojo/public/c/gles2/gles2.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 base::WeakPtr<gin::Runner> runner_; | 68 base::WeakPtr<gin::Runner> runner_; |
| 69 v8::Persistent<v8::Function> context_lost_callback_; | 69 v8::Persistent<v8::Function> context_lost_callback_; |
| 70 MojoGLES2Context context_; | 70 MojoGLES2Context context_; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace gl | 73 } // namespace gl |
| 74 } // namespace js | 74 } // namespace js |
| 75 } // namespace mojo | 75 } // namespace mojo |
| 76 | 76 |
| 77 #endif // MOJO_APPS_JS_BINDINGS_GL_CONTEXT_H_ | 77 #endif // MOJO_SERVICES_JS_MODULES_GL_CONTEXT_H_ |
| OLD | NEW |