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

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

Issue 2908623004: [ios clean] Toolbar displays total number of tabs. (Closed)
Patch Set: Add comment. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 // ToolbarConsumer sets the current appearance of the Toolbar. 10 // ToolbarConsumer sets the current appearance of the Toolbar.
11 @protocol ToolbarConsumer 11 @protocol ToolbarConsumer
12 // Updates the toolbar with the current forward navigation state. 12 // Updates the toolbar with the current forward navigation state.
13 - (void)setCanGoForward:(BOOL)canGoForward; 13 - (void)setCanGoForward:(BOOL)canGoForward;
14 // Updates the toolbar with the current back navigation state. 14 // Updates the toolbar with the current back navigation state.
15 - (void)setCanGoBack:(BOOL)canGoBack; 15 - (void)setCanGoBack:(BOOL)canGoBack;
16 // Updates the toolbar with the current loading state. 16 // Updates the toolbar with the current loading state.
17 - (void)setIsLoading:(BOOL)isLoading; 17 - (void)setIsLoading:(BOOL)isLoading;
18 // Updates the toolbar with the current progress of the loading WebState. 18 // Updates the toolbar with the current progress of the loading WebState.
19 - (void)setLoadingProgress:(double)progress; 19 - (void)setLoadingProgress:(double)progress;
20 // Sets whether the toolbar should display for a visible tab strip or not. 20 // Sets whether the toolbar should display for a visible tab strip or not.
21 - (void)setTabStripVisible:(BOOL)visible; 21 - (void)setTabStripVisible:(BOOL)visible;
22 // Updates the toolbar with the current number of total tabs.
23 - (void)setTabCount:(int)tabCount;
22 @end 24 @end
23 25
24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ 26 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/toolbar/toolbar_constants.mm ('k') | ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698