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

Side by Side Diff: examples/surfaces_app/child_gl_impl.h

Issue 940293003: Add a Display and ContextProvider concept to mojom, use to recreate (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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 | « examples/spinning_cube/spinning_cube_app.cc ('k') | examples/surfaces_app/child_gl_impl.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 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 EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_ 5 #ifndef EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_
6 #define EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_ 6 #define EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_
7 7
8 #include "base/containers/hash_tables.h" 8 #include "base/containers/hash_tables.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "cc/surfaces/surface_id.h" 12 #include "cc/surfaces/surface_id.h"
13 #include "examples/spinning_cube/spinning_cube.h" 13 #include "examples/spinning_cube/spinning_cube.h"
14 #include "examples/surfaces_app/child.mojom.h" 14 #include "examples/surfaces_app/child.mojom.h"
15 #include "mojo/public/c/gles2/gles2.h" 15 #include "mojo/public/c/gles2/gles2.h"
16 #include "mojo/public/cpp/bindings/string.h" 16 #include "mojo/public/cpp/bindings/string.h"
17 #include "mojo/public/cpp/bindings/strong_binding.h" 17 #include "mojo/public/cpp/bindings/strong_binding.h"
18 #include "mojo/services/gpu/public/interfaces/command_buffer.mojom.h"
18 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h" 19 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h"
19 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 20 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
20 #include "third_party/skia/include/core/SkColor.h" 21 #include "third_party/skia/include/core/SkColor.h"
21 #include "ui/gfx/size.h" 22 #include "ui/gfx/size.h"
22 23
23 namespace cc { 24 namespace cc {
24 class CompositorFrame; 25 class CompositorFrame;
25 } 26 }
26 27
27 namespace mojo { 28 namespace mojo {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 Binding<ResourceReturner> returner_binding_; 68 Binding<ResourceReturner> returner_binding_;
68 StrongBinding<Child> binding_; 69 StrongBinding<Child> binding_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(ChildGLImpl); 71 DISALLOW_COPY_AND_ASSIGN(ChildGLImpl);
71 }; 72 };
72 73
73 } // namespace examples 74 } // namespace examples
74 } // namespace mojo 75 } // namespace mojo
75 76
76 #endif // EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_ 77 #endif // EXAMPLES_SURFACES_APP_CHILD_GL_IMPL_H_
OLDNEW
« no previous file with comments | « examples/spinning_cube/spinning_cube_app.cc ('k') | examples/surfaces_app/child_gl_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698