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

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

Issue 252513004: Reland r265807: "Moves the notification icon out of th..." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable tray size test on Vista since it won't have any effect on a new icon. Created 6 years, 8 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..b0f28a3efdea57eca896eae5a19ff97ae7c47807 100644
--- a/chrome/browser/status_icons/status_icon.h
+++ b/chrome/browser/status_icons/status_icon.h
@@ -60,6 +60,13 @@ class StatusIcon {
void DispatchBalloonClickEvent();
#endif
+ // Attempts to make the status icon directly visible on system UI. Currently
+ // this only applies to Windows, where status icons are hidden by default
+ // inside an overflow window.
+ // WARNING: This currently uses undocumented Windows APIs and spawns a worker
+ // thread to do it. Use sparingly.
+ virtual void ForceVisible();
+
protected:
// Invoked after a call to SetContextMenu() to let the platform-specific
// subclass update the native context menu based on the new model. If NULL is

Powered by Google App Engine
This is Rietveld 408576698