| 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_COCOA_STATUS_BUBBLE_MAC_H_ | 5 #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ |
| 6 #define CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ | 6 #define CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 NSWindow* window_; | 48 NSWindow* window_; |
| 49 | 49 |
| 50 // The status text we want to display when there are no URLs to display. | 50 // The status text we want to display when there are no URLs to display. |
| 51 NSString* status_text_; | 51 NSString* status_text_; |
| 52 | 52 |
| 53 // The url we want to display when there is no status text to display. | 53 // The url we want to display when there is no status text to display. |
| 54 NSString* url_text_; | 54 NSString* url_text_; |
| 55 | 55 |
| 56 // How vertically offset the bubble is from its root position. | 56 // How vertically offset the bubble is from its root position. |
| 57 int offset_; | 57 int offset_; |
| 58 | |
| 59 // Is the download shelf visible. | |
| 60 bool is_download_shelf_visible_; | |
| 61 }; | 58 }; |
| 62 | 59 |
| 63 // Delegate interface that allows the StatusBubble to query its delegate about | 60 // Delegate interface that allows the StatusBubble to query its delegate about |
| 64 // the vertical offset (if any) that should be applied to the StatusBubble's | 61 // the vertical offset (if any) that should be applied to the StatusBubble's |
| 65 // position. | 62 // position. |
| 66 @interface NSObject(StatusBubbleDelegate) | 63 @interface NSObject(StatusBubbleDelegate) |
| 67 - (float)verticalOffsetForStatusBubble; | 64 - (float)verticalOffsetForStatusBubble; |
| 68 @end | 65 @end |
| 69 | 66 |
| 70 #endif // #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ | 67 #endif // #ifndef CHROME_BROWSER_COCOA_STATUS_BUBBLE_MAC_H_ |
| OLD | NEW |