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

Unified Diff: chrome/browser/shell_integration.h

Issue 249023: Use favicon for application shortcut icon. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fixed unittests, handle null favicon Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/shell_integration.h
===================================================================
--- chrome/browser/shell_integration.h (revision 27368)
+++ chrome/browser/shell_integration.h (working copy)
@@ -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 @@
// 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;
« no previous file with comments | « chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698