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

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

Issue 17286015: Adds a first-run balloon to the Windows notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar fixes. 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.cc
diff --git a/chrome/browser/status_icons/status_icon.cc b/chrome/browser/status_icons/status_icon.cc
index 37fcd4f1082853aae06be66de9179b60f4b982a4..737c09b68ccec174ed376cd8807d188f57171ae7 100644
--- a/chrome/browser/status_icons/status_icon.cc
+++ b/chrome/browser/status_icons/status_icon.cc
@@ -29,6 +29,10 @@ void StatusIcon::DispatchClickEvent() {
FOR_EACH_OBSERVER(StatusIconObserver, observers_, OnStatusIconClicked());
}
+void StatusIcon::DispatchBalloonClickEvent() {
+ FOR_EACH_OBSERVER(StatusIconObserver, observers_, OnBalloonClicked());
+}
+
void StatusIcon::SetContextMenu(ui::MenuModel* menu) {
// The UI may been showing a menu for the current model, don't destroy it
// until we've notified the UI of the change.

Powered by Google App Engine
This is Rietveld 408576698