OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ | 5 #ifndef COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ |
6 #define COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ | 6 #define COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
9 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
10 #include "components/wallpaper/wallpaper_layout.h" | 13 #include "components/wallpaper/wallpaper_layout.h" |
11 #include "components/wallpaper/wallpaper_resizer_observer.h" | 14 #include "components/wallpaper/wallpaper_resizer_observer.h" |
12 #include "skia/ext/image_operations.h" | 15 #include "skia/ext/image_operations.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gfx/image/image_skia.h" | 19 #include "ui/gfx/image/image_skia.h" |
17 | 20 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 base::SequencedWorkerPool* worker_pool_; | 76 base::SequencedWorkerPool* worker_pool_; |
74 | 77 |
75 base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_; | 78 base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_; |
76 | 79 |
77 DISALLOW_COPY_AND_ASSIGN(WallpaperResizer); | 80 DISALLOW_COPY_AND_ASSIGN(WallpaperResizer); |
78 }; | 81 }; |
79 | 82 |
80 } // namespace wallpaper | 83 } // namespace wallpaper |
81 | 84 |
82 #endif // COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ | 85 #endif // COMPONENTS_WALLPAPER_WALLPAPER_RESIZER_H_ |
OLD | NEW |