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

Unified Diff: ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.h

Issue 2640423003: [ios] Decouples ToolsMenuViewToolsCell from ToolsMenuVC (Closed)
Patch Set: 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/tools_menu/tools_menu_view_tools_cell.h
diff --git a/ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.h b/ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.h
new file mode 100644
index 0000000000000000000000000000000000000000..63625665f172c65e118b0938d875e81e22fbcd5e
--- /dev/null
+++ b/ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
lpromero 2017/01/20 09:05:16 2017. Idem second file. Use ./tools/boilerplate.py
sczs 2017/01/20 23:03:15 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_TOOLS_CELL_H_
+#define IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_TOOLS_CELL_H_
+
+#import <UIKit/UIKit.h>
+
+@interface ToolsMenuViewToolsCell : UICollectionViewCell
lpromero 2017/01/20 09:05:16 Add a class comment.
sczs 2017/01/20 23:03:15 Done.
+@property(nonatomic, retain) UIButton* reloadButton;
marq (ping after 24h) 2017/01/20 10:23:16 Each property needs a comment. Is it expected that
sczs 2017/01/20 23:03:15 Are you asking because of nullability annotations?
+@property(nonatomic, retain) UIButton* shareButton;
+@property(nonatomic, retain) UIButton* starButton;
+@property(nonatomic, retain) UIButton* starredButton;
+@property(nonatomic, retain) UIButton* stopButton;
+@property(nonatomic, retain) UIButton* toolsButton;
+
+// All buttons in the cell added in display order.
+- (NSArray*)allButtons;
+@end
+
+#endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_TOOLS_CELL_H_

Powered by Google App Engine
This is Rietveld 408576698