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

Unified Diff: ios/chrome/browser/ui/tabs/tab_strip_controller.mm

Issue 2660143002: Removing iPad Tab Switcher experimental flag. (Closed)
Patch Set: Rebased. Created 3 years, 10 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/tabs/tab_strip_controller.mm
diff --git a/ios/chrome/browser/ui/tabs/tab_strip_controller.mm b/ios/chrome/browser/ui/tabs/tab_strip_controller.mm
index fd96524b688b930ccbf48ae70b14fe0bd7372197..072c4e8a772b97dac3d23bcdb019c19602358b83 100644
--- a/ios/chrome/browser/ui/tabs/tab_strip_controller.mm
+++ b/ios/chrome/browser/ui/tabs/tab_strip_controller.mm
@@ -122,6 +122,7 @@ const CGFloat kNewTabButtonBottomOffsetHighRes = 2.0;
UIView* _view;
TabStripView* _tabStripView;
UIButton* _buttonNewTab;
+ // TODO(crbug.com/687132): Remove toggle button.
UIButton* _modeToggleButton; // weak, nil if not visible.
UIButton* _tabSwitcherToggleButton; // weak, nil if not visible.
@@ -1091,7 +1092,6 @@ const CGFloat kNewTabButtonBottomOffsetHighRes = 2.0;
[_modeToggleButton addTarget:nil
action:@selector(chromeExecuteCommand:)
forControlEvents:UIControlEventTouchUpInside];
- [_modeToggleButton setTag:IDC_SWITCH_BROWSER_MODES];
[_modeToggleButton addTarget:self
action:@selector(recordUserMetrics:)
forControlEvents:UIControlEventTouchUpInside];
« no previous file with comments | « ios/chrome/browser/ui/tab_switcher/tab_switcher_controller_egtest.mm ('k') | ios/chrome/browser/ui/tabs/tab_strip_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698