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

Unified Diff: chrome/browser/ui/views/status_icons/status_icon_win.h

Issue 8379003: Implementing custom notification icons for the DisplayBalloon method on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing DisplayBalloon argument order. 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/status_icons/status_icon_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/status_icons/status_icon_win.h
diff --git a/chrome/browser/ui/views/status_icons/status_icon_win.h b/chrome/browser/ui/views/status_icons/status_icon_win.h
index 7a441d3ab79ff657caff35a2b6f4bbc741c25da3..709028a0271dd6268fd1d46d325efb2421d41937 100644
--- a/chrome/browser/ui/views/status_icons/status_icon_win.h
+++ b/chrome/browser/ui/views/status_icons/status_icon_win.h
@@ -44,6 +44,9 @@ class StatusIconWin : public StatusIcon {
// Re-creates the status tray icon now after the taskbar has been created.
void ResetIcon();
+ // Forces to hide the notification balloon if any.
+ void HideBalloon();
Andrew T Wilson (Slow) 2011/10/26 01:05:01 Not sure that this should be public?
Leandro GraciĆ” Gil 2011/10/26 12:13:26 Addressed in the next patch. On 2011/10/26 01:05:
+
protected:
// Overridden from StatusIcon.
virtual void UpdatePlatformContextMenu(ui::MenuModel* menu);
@@ -63,6 +66,9 @@ class StatusIconWin : public StatusIcon {
// The currently-displayed icon for the window.
base::win::ScopedHICON icon_;
+ // The currently-displayed icon for the notification balloon.
+ base::win::ScopedHICON balloon_icon_;
+
#if !defined(USE_AURA)
// Context menu associated with this icon (if any).
scoped_ptr<views::Menu2> context_menu_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/status_icons/status_icon_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698