summaryrefslogtreecommitdiffstats
path: root/chrome/browser/status_bubble.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 21:36:20 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 21:36:20 +0000
commit3a6a3b65dff7f8c4544fe9ad0fbf600a3779633e (patch)
treef87a0c29399d8cdc832acbcf89fb5ef641ddef4e /chrome/browser/status_bubble.h
parentee8d226ec025c66f948973e1f46b79871df1de94 (diff)
downloadchromium_src-3a6a3b65dff7f8c4544fe9ad0fbf600a3779633e.zip
chromium_src-3a6a3b65dff7f8c4544fe9ad0fbf600a3779633e.tar.gz
chromium_src-3a6a3b65dff7f8c4544fe9ad0fbf600a3779633e.tar.bz2
This fixes the problem of the status bubble obscuring the download shelf.
BUG= http://crbug.com/6590 TEST=Cause the download shelf to appear by initiating a download. Hover over a link in the extreme lower left corner of the browser window. The status bubble should avoid your mouse by moving to the right, instead of moving down and obscuring the download shelf. Review URL: http://codereview.chromium.org/113671 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/status_bubble.h')
-rw-r--r--chrome/browser/status_bubble.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/status_bubble.h b/chrome/browser/status_bubble.h
index 3f58b9c..f5ecda4 100644
--- a/chrome/browser/status_bubble.h
+++ b/chrome/browser/status_bubble.h
@@ -39,6 +39,11 @@ class StatusBubble {
// mouse. This may be windows specific pain due to the way messages are
// processed for child HWNDs.
virtual void MouseMoved() = 0;
+
+ // Called when the download shelf becomes visible or invisible.
+ // This is used by to ensure that the status bubble does not obscure
+ // the download shelf, when it is visible.
+ virtual void UpdateDownloadShelfVisibility(bool visible) = 0;
};
#endif // #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_