diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 22:35:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 22:35:15 +0000 |
commit | 0b303cc493d3557b5a5e9e5c8dfc6bdc4953ee73 (patch) | |
tree | 807e7e57f0d329087bd1ba12baca7684f8553e5e /chrome/browser/shell_integration.h | |
parent | 12636df0dcf36c769c8a5940d6a0c0b6b6a6647c (diff) | |
download | chromium_src-0b303cc493d3557b5a5e9e5c8dfc6bdc4953ee73.zip chromium_src-0b303cc493d3557b5a5e9e5c8dfc6bdc4953ee73.tar.gz chromium_src-0b303cc493d3557b5a5e9e5c8dfc6bdc4953ee73.tar.bz2 |
Use favicon for application shortcut icon.
BUG=22528
Review URL: http://codereview.chromium.org/249023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.h')
-rw-r--r-- | chrome/browser/shell_integration.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h index daecacf..74e45af 100644 --- a/chrome/browser/shell_integration.h +++ b/chrome/browser/shell_integration.h @@ -12,6 +12,10 @@ #include "base/string16.h" #include "googleurl/src/gurl.h" +#if defined(OS_LINUX) +#include "third_party/skia/include/core/SkBitmap.h" +#endif + class FilePath; class MessageLoop; @@ -50,11 +54,12 @@ class ShellIntegration { // used to launch Chrome. static std::string GetDesktopFileContents( const std::string& template_contents, const GURL& url, - const string16& title); + const string16& title, const std::string& icon_name); struct ShortcutInfo { GURL url; string16 title; + SkBitmap favicon; bool create_on_desktop; bool create_in_applications_menu; |