Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: chrome/browser/thumbnails/thumbnailing_context.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/thumbnails/thumbnail_service.h" 10 #include "chrome/browser/thumbnails/thumbnail_service.h"
11 #include "components/history/core/common/thumbnail_score.h" 11 #include "components/history/core/common/thumbnail_score.h"
12 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/geometry/size.h"
14 14
15 namespace thumbnails { 15 namespace thumbnails {
16 16
17 // The result of clipping. This can be used to determine if the 17 // The result of clipping. This can be used to determine if the
18 // generated thumbnail is good or not. 18 // generated thumbnail is good or not.
19 enum ClipResult { 19 enum ClipResult {
20 // Clipping is not done yet. 20 // Clipping is not done yet.
21 CLIP_RESULT_UNPROCESSED, 21 CLIP_RESULT_UNPROCESSED,
22 // The source image is smaller. 22 // The source image is smaller.
23 CLIP_RESULT_SOURCE_IS_SMALLER, 23 CLIP_RESULT_SOURCE_IS_SMALLER,
(...skipping 29 matching lines...) Expand all
53 private: 53 private:
54 ThumbnailingContext(); 54 ThumbnailingContext();
55 ~ThumbnailingContext(); 55 ~ThumbnailingContext();
56 56
57 friend class base::RefCountedThreadSafe<ThumbnailingContext>; 57 friend class base::RefCountedThreadSafe<ThumbnailingContext>;
58 }; 58 };
59 59
60 } // namespace thumbnails 60 } // namespace thumbnails
61 61
62 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_ 62 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/thumbnails/thumbnailing_algorithm.h ('k') | chrome/browser/ui/app_list/app_list_positioner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698