Chromium Code Reviews| 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]; |
|
rohitrao (ping after 24h)
2017/02/01 18:34:34
Can this constant can be deleted from ios/chrome/b
jif
2017/02/03 12:55:51
It's still used in the tab_strip_controller, so I'
|
| [_modeToggleButton addTarget:self |
| action:@selector(recordUserMetrics:) |
| forControlEvents:UIControlEventTouchUpInside]; |