Chromium Code Reviews| 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; |
|
Peter Beverloo
2015/10/10 16:35:27
I'm a bit torn on what type to use here.
Yes, mc:
johnme
2015/10/12 14:34:09
Since this is a method for displaying "a notificat
|
| // Set the context menu for this icon. The icon takes ownership of the passed |
| // context menu. Passing NULL results in no menu at all. |