summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/status_bubble_views.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/views/status_bubble_views.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/views/status_bubble_views.h')
-rw-r--r--chrome/browser/views/status_bubble_views.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/status_bubble_views.h b/chrome/browser/views/status_bubble_views.h
index 5a94bb2..0dc90b0 100644
--- a/chrome/browser/views/status_bubble_views.h
+++ b/chrome/browser/views/status_bubble_views.h
@@ -38,6 +38,7 @@ class StatusBubbleViews : public StatusBubble {
virtual void SetURL(const GURL& url, const std::wstring& languages);
virtual void Hide();
virtual void MouseMoved();
+ virtual void UpdateDownloadShelfVisibility(bool visible);
private:
class StatusView;
@@ -70,6 +71,9 @@ class StatusBubbleViews : public StatusBubble {
views::Widget* frame_;
StatusView* view_;
+ // If the download shelf is visible, do not obscure it.
+ bool download_shelf_is_visible_;
+
DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews);
};