| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // mouse. This may be windows specific pain due to the way messages are | 42 // mouse. This may be windows specific pain due to the way messages are |
| 43 // processed for child HWNDs. |position| is the absolute position of the | 43 // processed for child HWNDs. |position| is the absolute position of the |
| 44 // pointer, and |left_content| is true if the mouse just left the content | 44 // pointer, and |left_content| is true if the mouse just left the content |
| 45 // area. | 45 // area. |
| 46 virtual void MouseMoved(const gfx::Point& position, bool left_content) = 0; | 46 virtual void MouseMoved(const gfx::Point& position, bool left_content) = 0; |
| 47 | 47 |
| 48 // Called when the download shelf becomes visible or invisible. | 48 // Called when the download shelf becomes visible or invisible. |
| 49 // This is used by to ensure that the status bubble does not obscure | 49 // This is used by to ensure that the status bubble does not obscure |
| 50 // the download shelf, when it is visible. | 50 // the download shelf, when it is visible. |
| 51 virtual void UpdateDownloadShelfVisibility(bool visible) = 0; | 51 virtual void UpdateDownloadShelfVisibility(bool visible) = 0; |
| 52 |
| 53 // Allow StatusView animation to set width of StatusBubble. |
| 54 virtual void SetBubbleWidth(int width) = 0; |
| 52 }; | 55 }; |
| 53 | 56 |
| 54 #endif // CHROME_BROWSER_STATUS_BUBBLE_H_ | 57 #endif // CHROME_BROWSER_STATUS_BUBBLE_H_ |
| OLD | NEW |