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

Side by Side Diff: apps/moterm/gl_helper.h

Issue 1214633009: Include mojo/public/cpp/bindings/binding.h wherever mojo::Binding<> is used. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | examples/bitmap_uploader/bitmap_uploader.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 APPS_MOTERM_GL_HELPER_H_ 5 #ifndef APPS_MOTERM_GL_HELPER_H_
6 #define APPS_MOTERM_GL_HELPER_H_ 6 #define APPS_MOTERM_GL_HELPER_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <deque> 10 #include <deque>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "mojo/public/c/gles2/gles2_types.h" 15 #include "mojo/public/c/gles2/gles2_types.h"
16 #include "mojo/public/cpp/bindings/binding.h"
16 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" 17 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h"
17 #include "mojo/services/gpu/public/interfaces/gpu.mojom.h" 18 #include "mojo/services/gpu/public/interfaces/gpu.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 21
21 namespace mojo { 22 namespace mojo {
22 class Shell; 23 class Shell;
23 } 24 }
24 25
25 // A class that helps with drawing surfaces using GL. 26 // A class that helps with drawing surfaces using GL.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 158
158 uint32_t next_resource_id_; 159 uint32_t next_resource_id_;
159 std::vector<TextureInfo> textures_pending_return_; 160 std::vector<TextureInfo> textures_pending_return_;
160 161
161 base::WeakPtrFactory<GlHelper> weak_factory_; 162 base::WeakPtrFactory<GlHelper> weak_factory_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(GlHelper); 164 DISALLOW_COPY_AND_ASSIGN(GlHelper);
164 }; 165 };
165 166
166 #endif // APPS_MOTERM_GL_HELPER_H_ 167 #endif // APPS_MOTERM_GL_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | examples/bitmap_uploader/bitmap_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698