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_INFO_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 extern const CGFloat kBubbleArrowHeight; | 10 extern const CGFloat kBubbleArrowHeight; |
(...skipping 18 matching lines...) Expand all Loading... |
29 BubbleArrowLocation arrowLocation_; | 29 BubbleArrowLocation arrowLocation_; |
30 | 30 |
31 // The type simply is used to determine what sort of background it should | 31 // The type simply is used to determine what sort of background it should |
32 // draw. | 32 // draw. |
33 InfoBubbleType bubbleType_; | 33 InfoBubbleType bubbleType_; |
34 } | 34 } |
35 | 35 |
36 @property (assign, nonatomic) BubbleArrowLocation arrowLocation; | 36 @property (assign, nonatomic) BubbleArrowLocation arrowLocation; |
37 @property (assign, nonatomic) InfoBubbleType bubbleType; | 37 @property (assign, nonatomic) InfoBubbleType bubbleType; |
38 | 38 |
| 39 // Returns the point location in view coordinates of the tip of the arrow. |
| 40 - (NSPoint)arrowTip; |
| 41 |
39 @end | 42 @end |
40 | 43 |
41 #endif // CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ | 44 #endif // CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ |
OLD | NEW |