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

Side by Side Diff: content/renderer/transport_texture_host.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/renderer_gl_context.h ('k') | net/base/test_completion_callback.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 // Transport texture is a mechanism to share a texture between renderer process 5 // Transport texture is a mechanism to share a texture between renderer process
6 // and GPU process. This is useful when a texture is used in the renderer 6 // and GPU process. This is useful when a texture is used in the renderer
7 // process but updated in the GPU process. 7 // process but updated in the GPU process.
8 // 8 //
9 // BACKGROUND INFORMATION 9 // BACKGROUND INFORMATION
10 // 10 //
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // NewRunnableFunction(&TextureCreateDone), 86 // NewRunnableFunction(&TextureCreateDone),
87 // textures); 87 // textures);
88 // } 88 // }
89 89
90 #ifndef CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_ 90 #ifndef CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_
91 #define CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_ 91 #define CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_
92 92
93 #include <vector> 93 #include <vector>
94 94
95 #include "base/basictypes.h" 95 #include "base/basictypes.h"
96 #include "base/callback.h" 96 #include "base/callback_old.h"
97 #include "base/memory/ref_counted.h" 97 #include "base/memory/ref_counted.h"
98 #include "base/memory/scoped_ptr.h" 98 #include "base/memory/scoped_ptr.h"
99 #include "base/task.h" 99 #include "base/task.h"
100 #include "ipc/ipc_channel.h" 100 #include "ipc/ipc_channel.h"
101 101
102 class MessageLoop; 102 class MessageLoop;
103 class RendererGLContext; 103 class RendererGLContext;
104 class TransportTextureService; 104 class TransportTextureService;
105 105
106 class TransportTextureHost 106 class TransportTextureHost
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // A list of textures generated. 188 // A list of textures generated.
189 std::vector<int> textures_; 189 std::vector<int> textures_;
190 190
191 // Callback when a texture is updated. 191 // Callback when a texture is updated.
192 scoped_ptr<TextureUpdateCallback> update_callback_; 192 scoped_ptr<TextureUpdateCallback> update_callback_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(TransportTextureHost); 194 DISALLOW_COPY_AND_ASSIGN(TransportTextureHost);
195 }; 195 };
196 196
197 #endif // CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_ 197 #endif // CONTENT_RENDERER_TRANSPORT_TEXTURE_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_gl_context.h ('k') | net/base/test_completion_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698