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

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

Issue 17286015: Adds a first-run balloon to the Windows notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dimich comments. Created 7 years, 6 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_observer.h
diff --git a/chrome/browser/status_icons/status_icon_observer.h b/chrome/browser/status_icons/status_icon_observer.h
index 28ee3d85fb6efa429dee05d5252e8641277b96d6..418356715c690d8ae15200b4374bd0ee398cd417 100644
--- a/chrome/browser/status_icons/status_icon_observer.h
+++ b/chrome/browser/status_icons/status_icon_observer.h
@@ -16,6 +16,13 @@ class StatusIconObserver {
// This will only be fired for this platform if no context menu is present.
virtual void OnStatusIconClicked() = 0;
+#if defined(OS_WIN)
+ // Called when the user clicks on a balloon generated for a system tray icon.
+ // TODO(dewittj): Implement on platforms other than Windows. Currently this
+ // event will never fire on non-Windows platforms.
+ virtual void OnBalloonClicked() {}
+#endif
+
protected:
virtual ~StatusIconObserver() {}
};
« no previous file with comments | « chrome/browser/status_icons/status_icon.cc ('k') | chrome/browser/ui/views/message_center/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698