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

Side by Side Diff: ios/chrome/browser/ui/toolbar/toolbar_view_controller.h

Issue 2588733002: Upstream Chrome on iOS source code [9/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 2016 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 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================
8
9 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_
10 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_
11
12 #import <UIKit/UIKit.h>
13
14 #import "ios/chrome/browser/ui/animators/zoom_transition_delegate.h"
15
16 // Action delegate for coordinators that handle the toolbar UI.
17 @protocol ToolbarActionDelegate<NSObject>
18
19 // Shows the tools menu.
20 - (void)showToolsMenu;
21
22 // Closes the tools menu.
23 - (void)closeToolsMenu;
24
25 @end
26
27 // View controller for a toolbar, which will show a horizontal row of
28 // controls and/or labels.
29 // This view controller will fill its container; it is up to the containing
30 // view controller or presentation controller to configure an appropriate
31 // height for it.
32 @interface ToolbarViewController : UIViewController<ZoomTransitionDelegate>
33
34 // The action delegate for this view controller.:wq
35 @property(nonatomic, weak) id<ToolbarActionDelegate> actionDelegate;
36
37 // Sets the text for a label appearing in the center of the toolbar.
38 - (void)setCurrentPageText:(NSString*)text;
39
40 @end
41
42 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_tools_menu_button.mm ('k') | ios/chrome/browser/ui/toolbar/toolbar_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698