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

Side by Side Diff: ios/chrome/browser/ui/stack_view/card_view.h

Issue 2944443003: [ObjC ARC] Converts ios/chrome/browser/ui/stack_view:stack_view to ARC. (Closed)
Patch Set: Add and use explicit disconnect in CardSet. Created 3 years, 6 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_STACK_VIEW_CARD_VIEW_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_VIEW_H_ 6 #define IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_VIEW_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 struct LayoutRect; 10 struct LayoutRect;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // A view class for displaying a card in the tab-switching stack. Has a title 45 // A view class for displaying a card in the tab-switching stack. Has a title
46 // and an image. On its target, has actions for when the close box is clicked, 46 // and an image. On its target, has actions for when the close box is clicked,
47 // when the card is selected, when it's dragged, and when VoiceOver focuses on 47 // when the card is selected, when it's dragged, and when VoiceOver focuses on
48 // its title label or close button. 48 // its title label or close button.
49 @interface CardView : UIView 49 @interface CardView : UIView
50 50
51 // |YES| if this card represents the current active tab. 51 // |YES| if this card represents the current active tab.
52 @property(nonatomic, assign) BOOL isActiveTab; 52 @property(nonatomic, assign) BOOL isActiveTab;
53 53
54 // The snapshot displayed on the card. 54 // The snapshot displayed on the card.
55 @property(nonatomic, retain) UIImage* image; 55 @property(nonatomic, strong) UIImage* image;
56 56
57 // Whether the card view should render its shadow. 57 // Whether the card view should render its shadow.
58 @property(nonatomic, assign) BOOL shouldShowShadow; 58 @property(nonatomic, assign) BOOL shouldShowShadow;
59 59
60 // Whether the card view should mask its shadow to only the overlapping portion. 60 // Whether the card view should mask its shadow to only the overlapping portion.
61 @property(nonatomic, assign) BOOL shouldMaskShadow; 61 @property(nonatomic, assign) BOOL shouldMaskShadow;
62 62
63 // The side on which to draw the close button. 63 // The side on which to draw the close button.
64 @property(nonatomic, assign) CardCloseButtonSide closeButtonSide; 64 @property(nonatomic, assign) CardCloseButtonSide closeButtonSide;
65 65
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // The LayoutRect for CardTabView. 132 // The LayoutRect for CardTabView.
133 - (LayoutRect)tabLayout; 133 - (LayoutRect)tabLayout;
134 134
135 // The a11y ID of the "close" button in the find-in-page bar. 135 // The a11y ID of the "close" button in the find-in-page bar.
136 @property(nonatomic, readonly) NSString* closeButtonId; 136 @property(nonatomic, readonly) NSString* closeButtonId;
137 137
138 @end 138 @end
139 139
140 #endif // IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_VIEW_H_ 140 #endif // IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_VIEW_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/stack_view/card_stack_pinch_gesture_recognizer.mm ('k') | ios/chrome/browser/ui/stack_view/card_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698