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

Unified Diff: chrome/browser/ui/gtk/status_icons/status_icon_gtk.h

Issue 8351004: Add an extra argument to the DisplayBalloon method to support custom notification icons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing argument order as suggested. Created 9 years, 2 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/ui/gtk/status_icons/status_icon_gtk.h
diff --git a/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h b/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
index 217e693c9440c717f2a3e067123f839f55e5b8d7..4985d1d78520562af8c252cce86a2593180e0225 100644
--- a/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
+++ b/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
@@ -8,6 +8,7 @@
#include <gtk/gtk.h>
+#include "base/compiler_specific.h"
#include "chrome/browser/status_icons/status_icon.h"
#include "ui/base/gtk/gtk_signal.h"
@@ -20,10 +21,12 @@ class StatusIconGtk : public StatusIcon {
virtual ~StatusIconGtk();
// Overridden from StatusIcon:
- virtual void SetImage(const SkBitmap& image);
- virtual void SetPressedImage(const SkBitmap& image);
- virtual void SetToolTip(const string16& tool_tip);
- virtual void DisplayBalloon(const string16& title, const string16& contents);
+ virtual void SetImage(const SkBitmap& image) OVERRIDE;
+ virtual void SetPressedImage(const SkBitmap& image) OVERRIDE;
+ virtual void SetToolTip(const string16& tool_tip) OVERRIDE;
+ virtual void DisplayBalloon(const SkBitmap& icon,
+ const string16& title,
+ const string16& contents);
// Exposed for testing.
CHROMEGTK_CALLBACK_0(StatusIconGtk, void, OnClick);

Powered by Google App Engine
This is Rietveld 408576698