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

Side by Side Diff: ios/chrome/browser/ui/side_swipe/card_side_swipe_view.h

Issue 2827643002: [ObjC ARC] Converts ios/chrome/browser/ui/side_swipe:side_swipe to ARC. (Closed)
Patch Set: weak Created 3 years, 8 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_ 6 #define IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 24 matching lines...) Expand all
35 // Space reserved at the top for the toolbar. 35 // Space reserved at the top for the toolbar.
36 CGFloat topMargin_; 36 CGFloat topMargin_;
37 37
38 // Tab model. 38 // Tab model.
39 TabModel* model_; // weak 39 TabModel* model_; // weak
40 40
41 // The image view containing the background image. 41 // The image view containing the background image.
42 base::scoped_nsobject<UIImageView> backgroundView_; 42 base::scoped_nsobject<UIImageView> backgroundView_;
43 } 43 }
44 44
45 @property(nonatomic, assign) id<SideSwipeControllerDelegate> delegate; 45 @property(nonatomic, weak) id<SideSwipeControllerDelegate> delegate;
46 @property(nonatomic, assign) CGFloat topMargin; 46 @property(nonatomic, assign) CGFloat topMargin;
47 47
48 - (id)initWithFrame:(CGRect)frame 48 - (id)initWithFrame:(CGRect)frame
49 topMargin:(CGFloat)margin 49 topMargin:(CGFloat)margin
50 model:(TabModel*)model; 50 model:(TabModel*)model;
51 - (void)updateViewsForDirection:(UISwipeGestureRecognizerDirection)direction 51 - (void)updateViewsForDirection:(UISwipeGestureRecognizerDirection)direction
52 withToolbar:(WebToolbarController*)toolbarController; 52 withToolbar:(WebToolbarController*)toolbarController;
53 - (void)handleHorizontalPan:(SideSwipeGestureRecognizer*)gesture; 53 - (void)handleHorizontalPan:(SideSwipeGestureRecognizer*)gesture;
54 54
55 @end 55 @end
56 56
57 #endif // IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_ 57 #endif // IOS_CHROME_BROWSER_UI_SIDE_SWIPE_CARD_SIDE_SWIPE_VIEW_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/side_swipe/BUILD.gn ('k') | ios/chrome/browser/ui/side_swipe/card_side_swipe_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698