OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_NO_TABS_NO_TABS_TOOLBAR_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_NO_TABS_NO_TABS_TOOLBAR_CONTROLLER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/chrome/browser/ui/toolbar/toolbar_controller.h" |
| 11 |
| 12 // Toolbar controller for the no tabs view, adding a new tab button and a mode |
| 13 // toggle button.. |
| 14 @interface NoTabsToolbarController : ToolbarController |
| 15 |
| 16 // Designated initializer. |
| 17 - (instancetype)initWithNoTabs; |
| 18 |
| 19 // Applies the given |transform| to all of the controls in this toolbar. |
| 20 - (void)setControlsTransform:(CGAffineTransform)transform; |
| 21 |
| 22 // Sets whether or not this toolbar displays a mode toggle switch. |
| 23 - (void)setHasModeToggleSwitch:(BOOL)hasModeToggle; |
| 24 |
| 25 // Return the button for toggling between normal and incognito. |
| 26 - (UIButton*)modeToggleButton; |
| 27 |
| 28 @end |
| 29 |
| 30 #endif // IOS_CHROME_BROWSER_UI_NO_TABS_NO_TABS_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |