Chromium Code Reviews| Index: ios/chrome/browser/ui/bubble_promo/bubble_view_controller.mm |
| diff --git a/ios/chrome/browser/ui/bubble_promo/bubble_view_controller.mm b/ios/chrome/browser/ui/bubble_promo/bubble_view_controller.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7a013e9bdab1583ba69b3792acb8386abfc451cb |
| --- /dev/null |
| +++ b/ios/chrome/browser/ui/bubble_promo/bubble_view_controller.mm |
| @@ -0,0 +1,33 @@ |
| +// 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_controller.h" |
| +#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 BubbleViewController () |
| +@property BubbleView* bubbleView; |
|
gchatz
2017/07/07 04:29:11
Property should have options specified in (), like
helenlyang
2017/07/07 23:29:16
You're right. I've removed the property and assign
|
| +@end |
| + |
| +@implementation BubbleViewController |
| + |
| +@synthesize bubbleView = _bubbleView; |
| + |
| +- (instancetype)initWithText:(NSString*)text |
| + direction:(BubbleArrowDirection)arrowDirection |
| + alignment:(BubbleAlignment)alignment { |
| + self = [super initWithNibName:nil bundle:nil]; |
| + return self; |
| +} |
| + |
| +- (void)animateContentIn { |
| +} |
|
gchatz
2017/07/07 04:29:11
Could be good to call NOTIMPLEMENTED() in these em
helenlyang
2017/07/07 23:29:16
Done. I've also added calls to NOTIMPLEMENTED() in
|
| + |
| +- (void)dismissAnimated:(BOOL)animated { |
| +} |
| + |
| +@end |