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

Unified Diff: ios/chrome/browser/ui/ntp/new_tab_page_bar.h

Issue 2610923005: Replace ObjCPropertyReleaser with ReleaseProperties() project-wide. (Closed)
Patch Set: weak -> assign Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/ntp/new_tab_page_bar.h
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_bar.h b/ios/chrome/browser/ui/ntp/new_tab_page_bar.h
index 4258681a09561e09672091287432515cf2adf851..1be9eb673fc3344b226771f0b1295e85bd202bc2 100644
--- a/ios/chrome/browser/ui/ntp/new_tab_page_bar.h
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_bar.h
@@ -23,10 +23,12 @@
// create a "speech bubble" effect.
@interface NewTabPageBar : UIView<UIGestureRecognizerDelegate>
-@property(nonatomic, retain) NSArray* items;
+@property(nonatomic, retain) NSArray* items; // NewTabPageBarItem
+// Which button is currently selected.
@property(nonatomic, assign) NSUInteger selectedIndex;
@property(nonatomic, assign) CGFloat overlayPercentage;
-@property(nonatomic, readonly, retain) NSArray* buttons;
+// Tabbar buttons.
+@property(nonatomic, readonly, retain) NSArray* buttons; // UIButton
Sidney San Martín 2017/01/05 03:24:05 I moved these comments from the ivar declarations
@property(nonatomic, assign) id<NewTabPageBarDelegate> delegate;
// Changes the colors of the buttons and overlay depending on the content offset

Powered by Google App Engine
This is Rietveld 408576698