OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ |
6 #define CHROME_BROWSER_STATUS_BUBBLE_H_ | 6 #define CHROME_BROWSER_STATUS_BUBBLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 class GURL; | 10 class GURL; |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual void SetURL(const GURL& url, const std::wstring& languages) = 0; | 32 virtual void SetURL(const GURL& url, const std::wstring& languages) = 0; |
33 | 33 |
34 // Skip the fade and instant-hide the bubble. | 34 // Skip the fade and instant-hide the bubble. |
35 virtual void Hide() = 0; | 35 virtual void Hide() = 0; |
36 | 36 |
37 // Called when the user's mouse has moved over web content. This is used to | 37 // Called when the user's mouse has moved over web content. This is used to |
38 // determine when the status area should move out of the way of the user's | 38 // determine when the status area should move out of the way of the user's |
39 // mouse. This may be windows specific pain due to the way messages are | 39 // mouse. This may be windows specific pain due to the way messages are |
40 // processed for child HWNDs. | 40 // processed for child HWNDs. |
41 virtual void MouseMoved() = 0; | 41 virtual void MouseMoved() = 0; |
| 42 |
| 43 // Called when the download shelf becomes visible or invisible. |
| 44 // This is used by to ensure that the status bubble does not obscure |
| 45 // the download shelf, when it is visible. |
| 46 virtual void UpdateDownloadShelfVisibility(bool visible) = 0; |
42 }; | 47 }; |
43 | 48 |
44 #endif // #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ | 49 #endif // #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ |
OLD | NEW |