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

Side by Side Diff: ios/chrome/browser/ui/no_tabs/no_tabs_toolbar_controller.h

Issue 2590473002: Upstream Chrome on iOS source code [5/11]. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698