Home | History | Annotate | Download | only in browser
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_APP_ICON_WIN_H_
      6 #define CHROME_BROWSER_APP_ICON_WIN_H_
      7 
      8 #include <windows.h>
      9 
     10 #include "base/memory/scoped_ptr.h"
     11 
     12 class SkBitmap;
     13 
     14 HICON GetAppIcon();
     15 
     16 // Retrieve the application icon for the given size. Note that if you specify a
     17 // size other than what is contained in chrome.dll (16x16, 32x32, 48x48), this
     18 // might return a poorly resized icon.
     19 scoped_ptr<SkBitmap> GetAppIconForSize(int size);
     20 
     21 #endif  // CHROME_BROWSER_APP_ICON_WIN_H_
     22