| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HISTORY_SELECT_FAVICON_FRAMES_H_ | 5 #ifndef COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ |
| 6 #define CHROME_BROWSER_HISTORY_SELECT_FAVICON_FRAMES_H_ | 6 #define COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
| 11 | 11 |
| 12 class SkBitmap; | 12 class SkBitmap; |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class ImageSkia; | 15 class ImageSkia; |
| 16 class Size; | 16 class Size; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // TODO(pkotwicz): Remove need to pass in |scale_factors|. | 52 // TODO(pkotwicz): Remove need to pass in |scale_factors|. |
| 53 // TODO(pkotwicz): Remove callers of this method for which |frame_pixel_sizes| | 53 // TODO(pkotwicz): Remove callers of this method for which |frame_pixel_sizes| |
| 54 // are the sizes of the favicon bitmaps after they were resized. | 54 // are the sizes of the favicon bitmaps after they were resized. |
| 55 void SelectFaviconFrameIndices( | 55 void SelectFaviconFrameIndices( |
| 56 const std::vector<gfx::Size>& frame_pixel_sizes, | 56 const std::vector<gfx::Size>& frame_pixel_sizes, |
| 57 const std::vector<ui::ScaleFactor>& scale_factors, | 57 const std::vector<ui::ScaleFactor>& scale_factors, |
| 58 int desired_size, | 58 int desired_size, |
| 59 std::vector<size_t>* best_indices, | 59 std::vector<size_t>* best_indices, |
| 60 float* score); | 60 float* score); |
| 61 | 61 |
| 62 #endif // CHROME_BROWSER_HISTORY_SELECT_FAVICON_FRAMES_H_ | 62 #endif // COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ |
| OLD | NEW |