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 26 matching lines...) Expand all Loading... |
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 | 42 |
43 // Called when the download shelf becomes visible or invisible. | 43 // Called when the download shelf becomes visible or invisible. |
44 // This is used by to ensure that the status bubble does not obscure | 44 // This is used by to ensure that the status bubble does not obscure |
45 // the download shelf, when it is visible. | 45 // the download shelf, when it is visible. |
46 virtual void UpdateDownloadShelfVisibility(bool visible) = 0; | 46 virtual void UpdateDownloadShelfVisibility(bool visible) = 0; |
47 | |
48 // Allow StatusView animation to set width of StatusBubble. | |
49 virtual void SetBubbleWidth(int width) = 0; | |
50 }; | 47 }; |
51 | 48 |
52 #endif // #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ | 49 #endif // #ifndef CHROME_BROWSER_STATUS_BUBBLE_H_ |
OLD | NEW |