OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |