OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ |
6 #define CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ | 6 #define CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "cc/resources/ui_resource_bitmap.h" | 11 #include "cc/resources/ui_resource_bitmap.h" |
11 #include "cc/resources/ui_resource_client.h" | 12 #include "cc/resources/ui_resource_client.h" |
12 #include "ui/gfx/geometry/size_f.h" | 13 #include "ui/gfx/geometry/size_f.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class Time; | 16 class Time; |
16 } | 17 } |
17 | 18 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool retrieved_; | 83 bool retrieved_; |
83 | 84 |
84 ui::UIResourceProvider* ui_resource_provider_; | 85 ui::UIResourceProvider* ui_resource_provider_; |
85 ThumbnailDelegate* thumbnail_delegate_; | 86 ThumbnailDelegate* thumbnail_delegate_; |
86 | 87 |
87 base::WeakPtrFactory<Thumbnail> weak_factory_; | 88 base::WeakPtrFactory<Thumbnail> weak_factory_; |
88 DISALLOW_COPY_AND_ASSIGN(Thumbnail); | 89 DISALLOW_COPY_AND_ASSIGN(Thumbnail); |
89 }; | 90 }; |
90 | 91 |
91 #endif // CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ | 92 #endif // CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_H_ |
OLD | NEW |