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

Side by Side Diff: components/favicon_base/select_favicon_frames.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ 5 #ifndef COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_
6 #define COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ 6 #define COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_
7 7
8 #include <stddef.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/basictypes.h"
11 12
12 class SkBitmap; 13 class SkBitmap;
13 14
14 namespace gfx { 15 namespace gfx {
15 class ImageSkia; 16 class ImageSkia;
16 class Size; 17 class Size;
17 } 18 }
18 19
19 // Score which is smaller than the minimum score returned by 20 // Score which is smaller than the minimum score returned by
20 // SelectFaviconFrames() or SelectFaviconFrameIndices(). 21 // SelectFaviconFrames() or SelectFaviconFrameIndices().
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // TODO(pkotwicz): Change API so that |desired_sizes| being empty indicates 55 // TODO(pkotwicz): Change API so that |desired_sizes| being empty indicates
55 // that the index of the largest size is requested. 56 // that the index of the largest size is requested.
56 // TODO(pkotwicz): Remove callers of this method for which |frame_pixel_sizes| 57 // TODO(pkotwicz): Remove callers of this method for which |frame_pixel_sizes|
57 // are the sizes of the favicon bitmaps after they were resized. 58 // are the sizes of the favicon bitmaps after they were resized.
58 void SelectFaviconFrameIndices(const std::vector<gfx::Size>& frame_pixel_sizes, 59 void SelectFaviconFrameIndices(const std::vector<gfx::Size>& frame_pixel_sizes,
59 const std::vector<int>& desired_sizes, 60 const std::vector<int>& desired_sizes,
60 std::vector<size_t>* best_indices, 61 std::vector<size_t>* best_indices,
61 float* score); 62 float* score);
62 63
63 #endif // COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_ 64 #endif // COMPONENTS_FAVICON_BASE_SELECT_FAVICON_FRAMES_H_
OLDNEW
« no previous file with comments | « components/favicon_base/large_icon_url_parser_unittest.cc ('k') | components/favicon_base/select_favicon_frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698