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

Side by Side Diff: content/common/gpu/image_transport_surface.h

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS Created 8 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/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface_mac.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ 5 #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_
6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ 6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "ipc/ipc_channel.h" 18 #include "ipc/ipc_channel.h"
19 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
20 #include "ui/gfx/gl/gl_surface.h" 20 #include "ui/gfx/gl/gl_surface.h"
21 #include "ui/gfx/native_widget_types.h" 21 #include "ui/gfx/native_widget_types.h"
22 #include "ui/gfx/rect.h" 22 #include "ui/gfx/rect.h"
23 #include "ui/gfx/size.h" 23 #include "ui/gfx/size.h"
24 #include "ui/gfx/surface/transport_dib.h" 24 #include "ui/surface/transport_dib.h"
25 25
26 class GpuChannelManager; 26 class GpuChannelManager;
27 class GpuCommandBufferStub; 27 class GpuCommandBufferStub;
28 28
29 struct GpuHostMsg_AcceleratedSurfaceNew_Params; 29 struct GpuHostMsg_AcceleratedSurfaceNew_Params;
30 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; 30 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
31 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; 31 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
32 struct GpuHostMsg_AcceleratedSurfaceRelease_Params; 32 struct GpuHostMsg_AcceleratedSurfaceRelease_Params;
33 33
34 namespace gfx { 34 namespace gfx {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 gfx::Size new_size_; 182 gfx::Size new_size_;
183 bool transport_; 183 bool transport_;
184 bool did_set_swap_interval_; 184 bool did_set_swap_interval_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); 186 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface);
187 }; 187 };
188 188
189 #endif // defined(ENABLE_GPU) 189 #endif // defined(ENABLE_GPU)
190 190
191 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ 191 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698