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 #pragma once | |
8 | 7 |
9 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
10 | 9 |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 gfx::Size new_size_; | 186 gfx::Size new_size_; |
188 bool transport_; | 187 bool transport_; |
189 bool did_set_swap_interval_; | 188 bool did_set_swap_interval_; |
190 | 189 |
191 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); | 190 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); |
192 }; | 191 }; |
193 | 192 |
194 #endif // defined(ENABLE_GPU) | 193 #endif // defined(ENABLE_GPU) |
195 | 194 |
196 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ | 195 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ |
OLD | NEW |