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

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: Review. 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/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..76dca5392a304f73fff3709ef2591472ef33b86a 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,8 +9,7 @@
@class TabSwitcherHeaderView;
-namespace ios_internal {
-enum SessionCellType {
+enum TabSwitcherSessionCellType {
kIncognitoSessionCell,
kOpenTabSessionCell,
kGenericRemoteSessionCell,
@@ -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:(TabSwitcherSessionCellType)type;
-@property(nonatomic, readonly) ios_internal::SessionCellType type;
+@property(nonatomic, readonly) TabSwitcherSessionCellType type;
@property(nonatomic, copy) NSString* title;
@property(nonatomic, retain) UIImage* image;

Powered by Google App Engine
This is Rietveld 408576698