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

Unified Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.h

Issue 2608253003: [ios] Moves tab_switcher code out of the ios_internal namespace. (Closed)
Patch Set: Created 3 years, 12 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/tab_switcher/tab_switcher_session_cell_data.h
diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.h b/ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.h
index 2f8e4e80ba2164b1f557ab1af080334c3dff477b..06c16f8456e0a22e32676e599cb5872b46dcb4ca 100644
--- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.h
+++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.h
@@ -9,7 +9,6 @@
@class TabSwitcherHeaderView;
-namespace ios_internal {
enum SessionCellType {
sdefresne 2017/01/03 16:04:30 nit: maybe rename TabSwitcherSessionCellType.
rohitrao (ping after 24h) 2017/01/04 13:36:38 Done.
kIncognitoSessionCell,
kOpenTabSessionCell,
@@ -18,7 +17,6 @@ enum SessionCellType {
kTabletRemoteSessionCell,
kLaptopRemoteSessionCell,
};
-}
// This class hold the data used to configure the content of a
// TabSwitcherHeaderCell.
@@ -31,9 +29,9 @@ enum SessionCellType {
+ (instancetype)openTabSessionCellData;
+ (instancetype)otherDevicesSessionCellData;
-- (instancetype)initWithSessionCellType:(ios_internal::SessionCellType)type;
+- (instancetype)initWithSessionCellType:(SessionCellType)type;
-@property(nonatomic, readonly) ios_internal::SessionCellType type;
+@property(nonatomic, readonly) SessionCellType type;
@property(nonatomic, copy) NSString* title;
@property(nonatomic, retain) UIImage* image;

Powered by Google App Engine
This is Rietveld 408576698