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

Unified Diff: chrome/browser/status_icons/status_icon.h

Issue 1387383004: Plumb NotifierId to status icon balloons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notif_cleanup
Patch Set: Rebase Created 5 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/status_icons/status_icon.h
diff --git a/chrome/browser/status_icons/status_icon.h b/chrome/browser/status_icons/status_icon.h
index 4f35abc56ce290ce240b1a7838a1f17add405cb5..e49c9984dd4a70cc4a20a2b42ff039badd1dfb28 100644
--- a/chrome/browser/status_icons/status_icon.h
+++ b/chrome/browser/status_icons/status_icon.h
@@ -15,6 +15,10 @@ namespace gfx {
class ImageSkia;
}
+namespace message_center {
+struct NotifierId;
+}
+
class StatusIconObserver;
class StatusIcon {
@@ -33,9 +37,11 @@ class StatusIcon {
// Displays a notification balloon with the specified contents.
// Depending on the platform it might not appear by the icon tray.
- virtual void DisplayBalloon(const gfx::ImageSkia& icon,
- const base::string16& title,
- const base::string16& contents) = 0;
+ virtual void DisplayBalloon(
+ const gfx::ImageSkia& icon,
+ const base::string16& title,
+ const base::string16& contents,
+ const message_center::NotifierId& notifier_id) = 0;
// Set the context menu for this icon. The icon takes ownership of the passed
// context menu. Passing NULL results in no menu at all.
« no previous file with comments | « chrome/browser/status_icons/desktop_notification_balloon.cc ('k') | chrome/browser/status_icons/status_icon_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698