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

Side by Side Diff: mojo/examples/sample_app/gles2_client_impl.h

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 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
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_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/c/gles2/gles2.h" 9 #include "mojo/public/c/gles2/gles2.h"
10 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h" 10 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h"
11 #include "ui/gfx/point_f.h" 11 #include "ui/gfx/geometry/point_f.h"
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
13 13
14 namespace examples { 14 namespace examples {
15 15
16 class GLES2ClientImpl { 16 class GLES2ClientImpl {
17 public: 17 public:
18 explicit GLES2ClientImpl(mojo::CommandBufferPtr command_buffer); 18 explicit GLES2ClientImpl(mojo::CommandBufferPtr command_buffer);
19 virtual ~GLES2ClientImpl(); 19 virtual ~GLES2ClientImpl();
20 20
21 void SetSize(const mojo::Size& size); 21 void SetSize(const mojo::Size& size);
(...skipping 17 matching lines...) Expand all
39 bool getting_animation_frames_; 39 bool getting_animation_frames_;
40 40
41 MojoGLES2Context context_; 41 MojoGLES2Context context_;
42 42
43 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl); 43 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl);
44 }; 44 };
45 45
46 } // namespace examples 46 } // namespace examples
47 47
48 #endif // MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_ 48 #endif // MOJO_EXAMPLES_SAMPLE_APP_GLES2_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698