| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_VIEW_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 | 11 |
| 9 // A view class that looks like a "bubble" with rounded corners and displays | 12 // A view class that looks like a "bubble" with rounded corners and displays |
| 10 // text inside. Can be themed. To put flush against the sides of a window, the | 13 // text inside. Can be themed. To put flush against the sides of a window, the |
| 11 // corner flags can be adjusted. | 14 // corner flags can be adjusted. |
| 12 | 15 |
| 13 // Constants that define where the bubble will have a rounded corner. If | 16 // Constants that define where the bubble will have a rounded corner. If |
| 14 // not set, the corner will be square. | 17 // not set, the corner will be square. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // The font used to display the content string. | 62 // The font used to display the content string. |
| 60 - (NSFont*)font; | 63 - (NSFont*)font; |
| 61 | 64 |
| 62 @end | 65 @end |
| 63 | 66 |
| 64 // APIs exposed only for testing. | 67 // APIs exposed only for testing. |
| 65 @interface BubbleView(TestingOnly) | 68 @interface BubbleView(TestingOnly) |
| 66 - (NSString*)content; | 69 - (NSString*)content; |
| 67 - (unsigned long)cornerFlags; | 70 - (unsigned long)cornerFlags; |
| 68 @end | 71 @end |
| 72 |
| 73 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_VIEW_H_ |
| OLD | NEW |