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

Side by Side Diff: ios/chrome/browser/ui/bubble_promo/bubble_view_controller.mm

Issue 2964233002: [ios] BubbleViewController and BubbleView stubs. (Closed)
Patch Set: 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 #import "ios/chrome/browser/ui/bubble_promo/bubble_view_controller.h"
6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
11 @implementation BubbleViewController
12
13 @synthesize bubbleOrigin = _bubbleOrigin;
14
15 - (instancetype)initWithConfiguration:(BubbleConfiguration*)configuration {
16 self = [super initWithNibName:nil bundle:nil];
17 return self;
18 }
19
20 - (void)animateContentIn {
21 }
22
23 - (void)dismissAnimated:(BOOL)animated {
24 }
25
26 // Calculate the bubble's desired origin based on label size, alignment, arrow
27 // direction, and the frame of the target UI element.
28 - (CGPoint)bubbleOrigin {
29 return _bubbleOrigin;
30 }
31
32 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698