| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WIN_APP_ICON_H_ | 5 #ifndef CHROME_BROWSER_WIN_APP_ICON_H_ |
| 6 #define CHROME_BROWSER_WIN_APP_ICON_H_ | 6 #define CHROME_BROWSER_WIN_APP_ICON_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 namespace gfx { | 12 namespace gfx { |
| 13 class ImageFamily; | 13 class ImageFamily; |
| 14 class Size; | 14 class Size; |
| 15 } | 15 } |
| 16 | 16 |
| 17 class SkBitmap; | |
| 18 | |
| 19 HICON GetAppIcon(); | 17 HICON GetAppIcon(); |
| 20 HICON GetSmallAppIcon(); | 18 HICON GetSmallAppIcon(); |
| 21 | 19 |
| 22 gfx::Size GetAppIconSize(); | 20 gfx::Size GetAppIconSize(); |
| 23 gfx::Size GetSmallAppIconSize(); | 21 gfx::Size GetSmallAppIconSize(); |
| 24 | 22 |
| 25 // Retrieve the application icon for the current process. This returns all of | 23 // Retrieve the application icon for the current process. This returns all of |
| 26 // the different sizes of the icon as an ImageFamily. | 24 // the different sizes of the icon as an ImageFamily. |
| 27 std::unique_ptr<gfx::ImageFamily> GetAppIconImageFamily(); | 25 std::unique_ptr<gfx::ImageFamily> GetAppIconImageFamily(); |
| 28 | 26 |
| 29 #endif // CHROME_BROWSER_WIN_APP_ICON_H_ | 27 #endif // CHROME_BROWSER_WIN_APP_ICON_H_ |
| OLD | NEW |