| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_BUBBLE_PROMO_BUBBLE_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_BUBBLE_PROMO_BUBBLE_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 enum class BubbleArrowDirection; |
| 11 enum class BubbleAlignment; |
| 12 |
| 13 // Speech bubble shaped view that displays a message. |
| 14 @interface BubbleView : UIView |
| 15 |
| 16 @property(nonatomic, readonly) BubbleArrowDirection arrowDirection; |
| 17 @property(nonatomic, readonly) BubbleAlignment alignment; |
| 18 |
| 19 - (instancetype)initWithText:(NSString*)text |
| 20 direction:(BubbleArrowDirection)arrowDirection |
| 21 alignment:(BubbleAlignment)alignment |
| 22 NS_DESIGNATED_INITIALIZER; |
| 23 |
| 24 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; |
| 25 |
| 26 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |
| 27 |
| 28 - (instancetype)init NS_UNAVAILABLE; |
| 29 |
| 30 @end |
| 31 |
| 32 #endif // IOS_CHROME_BROWSER_UI_BUBBLE_PROMO_BUBBLE_VIEW_H_ |
| OLD | NEW |