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

Side by Side Diff: content/renderer/renderer_gl_context.h

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/command_buffer_proxy.h ('k') | content/renderer/transport_texture_host.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This API is consistent with other OpenGL setup APIs like window's WGL 5 // This API is consistent with other OpenGL setup APIs like window's WGL
6 // and pepper's PGL. This API is used to manage OpenGL RendererGLContexts in the 6 // and pepper's PGL. This API is used to manage OpenGL RendererGLContexts in the
7 // Chrome renderer process in a way that is consistent with other platforms. 7 // Chrome renderer process in a way that is consistent with other platforms.
8 8
9 #ifndef CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_ 9 #ifndef CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_
10 #define CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_ 10 #define CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_
11 #pragma once 11 #pragma once
12 12
13 #include "base/callback.h" 13 #include "base/callback_old.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 #include "ui/gfx/size.h" 19 #include "ui/gfx/size.h"
20 20
21 class GpuChannelHost; 21 class GpuChannelHost;
22 class MessageLoop; 22 class MessageLoop;
23 class CommandBufferProxy; 23 class CommandBufferProxy;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 gpu::gles2::GLES2CmdHelper* gles2_helper_; 229 gpu::gles2::GLES2CmdHelper* gles2_helper_;
230 int32 transfer_buffer_id_; 230 int32 transfer_buffer_id_;
231 gpu::gles2::GLES2Implementation* gles2_implementation_; 231 gpu::gles2::GLES2Implementation* gles2_implementation_;
232 gfx::Size size_; 232 gfx::Size size_;
233 Error last_error_; 233 Error last_error_;
234 234
235 DISALLOW_COPY_AND_ASSIGN(RendererGLContext); 235 DISALLOW_COPY_AND_ASSIGN(RendererGLContext);
236 }; 236 };
237 237
238 #endif // CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_ 238 #endif // CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/renderer/command_buffer_proxy.h ('k') | content/renderer/transport_texture_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698