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

Unified Diff: chrome/browser/favicon/select_favicon_frames.h

Issue 10908114: Move SelectFaviconFrames from favicon/ to history/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/favicon/favicon_util.cc ('k') | chrome/browser/favicon/select_favicon_frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/select_favicon_frames.h
diff --git a/chrome/browser/favicon/select_favicon_frames.h b/chrome/browser/favicon/select_favicon_frames.h
deleted file mode 100644
index 768d394653caa5568c998be716f09be145824932..0000000000000000000000000000000000000000
--- a/chrome/browser/favicon/select_favicon_frames.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_FAVICON_SELECT_FAVICON_FRAMES_H_
-#define CHROME_BROWSER_FAVICON_SELECT_FAVICON_FRAMES_H_
-
-#include <vector>
-
-#include "ui/base/layout.h"
-
-class SkBitmap;
-
-namespace gfx {
-class ImageSkia;
-}
-
-// Takes a list of all bitmaps found in a .ico file, and creates an
-// ImageSkia that's desired_size x desired_size pixels big. This
-// function adds a representation at every desired scale factor.
-// If desired_size is 0, the largest bitmap is returned unmodified.
-// If score is non-NULL, it receive a score between 0 (bad) and 1 (good)
-// that describes how well |bitmaps| were able to produce an image at
-// |desired_size| for |scale_factors|.
-// The score is arbitrary, but it's best for exact size matches,
-// and gets worse the more resampling needs to happen.
-gfx::ImageSkia SelectFaviconFrames(
- const std::vector<SkBitmap>& bitmaps,
- const std::vector<ui::ScaleFactor>& scale_factors,
- int desired_size,
- float* score);
-
-#endif // CHROME_BROWSER_FAVICON_SELECT_FAVICON_FRAMES_H_
« no previous file with comments | « chrome/browser/favicon/favicon_util.cc ('k') | chrome/browser/favicon/select_favicon_frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698