| Index: ios/chrome/browser/ui/bubble_promo/bubble_view.mm
|
| diff --git a/ios/chrome/browser/ui/bubble_promo/bubble_view.mm b/ios/chrome/browser/ui/bubble_promo/bubble_view.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee7811714d18a27f0e48884b093a080cdeab1945
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/ui/bubble_promo/bubble_view.mm
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#import "ios/chrome/browser/ui/bubble_promo/bubble_view.h"
|
| +
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| +@interface BubbleView ()
|
| +@property(nonatomic, readonly, weak) UILabel* label;
|
| +@end
|
| +
|
| +@implementation BubbleView
|
| +
|
| +@synthesize arrowDirection = _arrowDirection;
|
| +@synthesize alignment = _alignment;
|
| +@synthesize label = _label;
|
| +
|
| +- (instancetype)initWithText:(NSString*)text
|
| + direction:(BubbleArrowDirection)arrowDirection
|
| + alignment:(BubbleAlignment)alignment {
|
| + self = [super initWithFrame:CGRectZero];
|
| + return self;
|
| +}
|
| +
|
| +- (CGSize)sizeThatFits:(CGSize)size {
|
| + return CGSizeZero;
|
| +}
|
| +
|
| +- (CGSize)intrinsicContentSize {
|
| + return CGSizeZero;
|
| +}
|
| +
|
| +@end
|
|
|