Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: services/js/modules/gl/context.h

Issue 703023004: Move the JS content handler et al from mojo/apps/js to mojo/services (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed DEPS gl build Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/js/modules/gl/BUILD.gn ('k') | services/js/modules/gl/context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « services/js/modules/gl/BUILD.gn ('k') | services/js/modules/gl/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698