| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UI_COCOA_INFO_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 } // namespace info_bubble | 23 } // namespace info_bubble |
| 24 | 24 |
| 25 // Content view for a bubble with an arrow showing arbitrary content. | 25 // Content view for a bubble with an arrow showing arbitrary content. |
| 26 // This is where nonrectangular drawing happens. | 26 // This is where nonrectangular drawing happens. |
| 27 @interface InfoBubbleView : NSView { | 27 @interface InfoBubbleView : NSView { |
| 28 @private | 28 @private |
| 29 info_bubble::BubbleArrowLocation arrowLocation_; | 29 info_bubble::BubbleArrowLocation arrowLocation_; |
| 30 } | 30 } |
| 31 | 31 |
| 32 @property (assign, nonatomic) info_bubble::BubbleArrowLocation arrowLocation; | 32 @property(assign, nonatomic) info_bubble::BubbleArrowLocation arrowLocation; |
| 33 | 33 |
| 34 // Returns the point location in view coordinates of the tip of the arrow. | 34 // Returns the point location in view coordinates of the tip of the arrow. |
| 35 - (NSPoint)arrowTip; | 35 - (NSPoint)arrowTip; |
| 36 | 36 |
| 37 @end | 37 @end |
| 38 | 38 |
| 39 #endif // CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_ | 39 #endif // CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_ |
| OLD | NEW |