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

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

Issue 11722024: Remove some usage of the ENABLE_GPU macro. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
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 7
8 #if defined(ENABLE_GPU)
9
10 #include <vector> 8 #include <vector>
11 9
12 #include "base/callback.h" 10 #include "base/callback.h"
13 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
14 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
17 #include "ipc/ipc_listener.h" 15 #include "ipc/ipc_listener.h"
18 #include "ipc/ipc_message.h" 16 #include "ipc/ipc_message.h"
19 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 scoped_ptr<ImageTransportHelper> helper_; 192 scoped_ptr<ImageTransportHelper> helper_;
195 gfx::Size new_size_; 193 gfx::Size new_size_;
196 bool transport_; 194 bool transport_;
197 bool did_set_swap_interval_; 195 bool did_set_swap_interval_;
198 196
199 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); 197 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface);
200 }; 198 };
201 199
202 } // namespace content 200 } // namespace content
203 201
204 #endif // defined(ENABLE_GPU)
205
206 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ 202 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_tracking.cc ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698