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 UI_GFX_IMAGE_IMAGE_SKIA_H_ | 5 #ifndef UI_GFX_IMAGE_IMAGE_SKIA_H_ |
6 #define UI_GFX_IMAGE_IMAGE_SKIA_H_ | 6 #define UI_GFX_IMAGE_IMAGE_SKIA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
15 #include "ui/gfx/image/image_skia_rep.h" | 14 #include "ui/gfx/image/image_skia_rep.h" |
16 | 15 |
17 namespace gfx { | 16 namespace gfx { |
18 class ImageSkiaSource; | 17 class ImageSkiaSource; |
19 class Size; | 18 class Size; |
20 | 19 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // so that other thread can access the storage. | 170 // so that other thread can access the storage. |
172 void DetachStorageFromThread(); | 171 void DetachStorageFromThread(); |
173 | 172 |
174 // A refptr so that ImageRepSkia can be copied cheaply. | 173 // A refptr so that ImageRepSkia can be copied cheaply. |
175 scoped_refptr<internal::ImageSkiaStorage> storage_; | 174 scoped_refptr<internal::ImageSkiaStorage> storage_; |
176 }; | 175 }; |
177 | 176 |
178 } // namespace gfx | 177 } // namespace gfx |
179 | 178 |
180 #endif // UI_GFX_IMAGE_IMAGE_SKIA_H_ | 179 #endif // UI_GFX_IMAGE_IMAGE_SKIA_H_ |
OLD | NEW |