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 CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ |
6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ | 6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/thumbnails/thumbnail_service.h" | 9 #include "chrome/browser/thumbnails/thumbnail_service.h" |
11 #include "components/history/core/common/thumbnail_score.h" | 10 #include "components/history/core/common/thumbnail_score.h" |
12 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
13 #include "ui/gfx/geometry/size.h" | 12 #include "ui/gfx/geometry/size.h" |
14 | 13 |
15 namespace thumbnails { | 14 namespace thumbnails { |
16 | 15 |
17 // The result of clipping. This can be used to determine if the | 16 // The result of clipping. This can be used to determine if the |
18 // generated thumbnail is good or not. | 17 // generated thumbnail is good or not. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 private: | 52 private: |
54 ThumbnailingContext(); | 53 ThumbnailingContext(); |
55 ~ThumbnailingContext(); | 54 ~ThumbnailingContext(); |
56 | 55 |
57 friend class base::RefCountedThreadSafe<ThumbnailingContext>; | 56 friend class base::RefCountedThreadSafe<ThumbnailingContext>; |
58 }; | 57 }; |
59 | 58 |
60 } // namespace thumbnails | 59 } // namespace thumbnails |
61 | 60 |
62 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ | 61 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ |
OLD | NEW |