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

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

Issue 110693004: Moves the notification icon out of the status area overflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 7cb88992914f88f553d786feb0011c1939cf57ff..c8b19ddca75d02cbe344c48fb7f1d37fe1ca0910 100644
--- a/chrome/browser/status_icons/status_icon.h
+++ b/chrome/browser/status_icons/status_icon.h
@@ -17,6 +17,10 @@ class ImageSkia;
class StatusIconObserver;
+#if defined(OS_WIN)
+class StatusIconWin;
+#endif // defined(OS_WIN)
+
class StatusIcon {
public:
StatusIcon();
@@ -56,8 +60,14 @@ class StatusIcon {
// Dispatches a click event to the observers.
void DispatchClickEvent();
+
#if defined(OS_WIN)
+ // Dispatches a balloon click event to the observers.
void DispatchBalloonClickEvent();
+
+ // Available on Windows so clients can access Windows-specific functionality
+ // like the backing HWND.
+ StatusIconWin* AsStatusIconWin();
sky 2014/03/19 22:26:39 This means the parent class knows about a UI speci
dewittj 2014/03/20 19:31:08 Perhaps atwilson can suggest a better way. In ear
sky 2014/03/20 20:59:38 If you can't actually have your code take a Status
#endif
protected:

Powered by Google App Engine
This is Rietveld 408576698