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

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

Issue 293563002: GetScaleFactorForNativeView should return scale factor in float (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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_ALGORITHM_H_ 5 #ifndef CHROME_BROWSER_THUMBNAILS_THUMBNAILING_ALGORITHM_H_
6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAILING_ALGORITHM_H_ 6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAILING_ALGORITHM_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "chrome/browser/thumbnails/thumbnailing_context.h" 9 #include "chrome/browser/thumbnails/thumbnailing_context.h"
10 #include "ui/base/layout.h"
10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect.h"
11 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
12 13
13 class SkBitmap; 14 class SkBitmap;
14 15
15 namespace thumbnails { 16 namespace thumbnails {
16 17
17 // An interface abstracting thumbnailing algorithms. Instances are intended to 18 // An interface abstracting thumbnailing algorithms. Instances are intended to
18 // be created by ThumbnailService's implementations and used by 19 // be created by ThumbnailService's implementations and used by
19 // ThumbnailTabHelper as consumers of captured source images. 20 // ThumbnailTabHelper as consumers of captured source images.
(...skipping 26 matching lines...) Expand all
46 const SkBitmap& bitmap) = 0; 47 const SkBitmap& bitmap) = 0;
47 48
48 protected: 49 protected:
49 virtual ~ThumbnailingAlgorithm() {} 50 virtual ~ThumbnailingAlgorithm() {}
50 friend class base::RefCountedThreadSafe<ThumbnailingAlgorithm>; 51 friend class base::RefCountedThreadSafe<ThumbnailingAlgorithm>;
51 }; 52 };
52 53
53 } 54 }
54 55
55 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_ALGORITHM_H_ 56 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAILING_ALGORITHM_H_
OLDNEW
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_tab_helper.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698