OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_APP_ICON_WIN_H_ | 5 #ifndef CHROME_BROWSER_APP_ICON_WIN_H_ |
6 #define CHROME_BROWSER_APP_ICON_WIN_H_ | 6 #define CHROME_BROWSER_APP_ICON_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
11 HICON GetAppIcon(); | 11 HICON GetAppIcon(); |
12 | 12 |
| 13 // Retrieve the application icon for the given size. Note that if you specify a |
| 14 // size other than what is contained in chrome.dll (16x16, 32x32, 48x48), this |
| 15 // might return a handle to a poorly resized icon. |
| 16 HICON GetAppIconForSize(int size); |
| 17 |
13 #endif // CHROME_BROWSER_APP_ICON_WIN_H_ | 18 #endif // CHROME_BROWSER_APP_ICON_WIN_H_ |
OLD | NEW |