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

Side by Side Diff: chrome/browser/app_icon_win.h

Issue 11778073: Add support for getting the 256x256 app icon on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « base/win/resource_util.cc ('k') | chrome/browser/app_icon_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/memory/scoped_ptr.h"
11
12 class SkBitmap;
13
10 HICON GetAppIcon(); 14 HICON GetAppIcon();
11 15
12 // Retrieve the application icon for the given size. Note that if you specify a 16 // Retrieve the application icon for the given size. Note that if you specify a
13 // size other than what is contained in chrome.dll (16x16, 32x32, 48x48), this 17 // size other than what is contained in chrome.dll (16x16, 32x32, 48x48), this
14 // might return a handle to a poorly resized icon. 18 // might return a poorly resized icon.
15 HICON GetAppIconForSize(int size); 19 scoped_ptr<SkBitmap> GetAppIconForSize(int size);
16 20
17 #endif // CHROME_BROWSER_APP_ICON_WIN_H_ 21 #endif // CHROME_BROWSER_APP_ICON_WIN_H_
OLDNEW
« no previous file with comments | « base/win/resource_util.cc ('k') | chrome/browser/app_icon_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698