Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: ios/chrome/browser/ui/bubble_promo/bubble_view.h

Issue 2964233002: [ios] BubbleViewController and BubbleView stubs. (Closed)
Patch Set: Add BubbleView property to BubbleVC Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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;
edchin 2017/07/07 04:24:10 I think these enums need to be declared in this he
helenlyang 2017/07/07 23:29:15 Done.
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;
edchin 2017/07/07 04:24:10 I don't think these two lines are going to be need
gchatz 2017/07/07 04:29:10 Need comments for properties and designated initia
helenlyang 2017/07/07 23:29:15 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698