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

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

Issue 2859363002: [ios clean] Adds Progress Bar to Toolbar. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h
diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h b/ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h
index 0edc23f179a39f1a0675c15114f2dbb3d5a7d76f..b0d6cbcb1666f55502153525fd0d8d5cfee78e76 100644
--- a/ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h
+++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h
@@ -9,14 +9,14 @@
// ToolbarConsumer sets the current appearance of the Toolbar.
@protocol ToolbarConsumer
-// Sets the text for a label appearing in the center of the toolbar.
-- (void)setCurrentPageText:(NSString*)text;
// Updates the toolbar with the current forward navigation state.
- (void)setCanGoForward:(BOOL)canGoForward;
// Updates the toolbar with the current back navigation state.
- (void)setCanGoBack:(BOOL)canGoBack;
// Updates the toolbar with the current loading state.
- (void)setIsLoading:(BOOL)isLoading;
+// Updates the toolbar with the current progress of the loading WebState.
+- (void)setProgress:(double)progress;
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_

Powered by Google App Engine
This is Rietveld 408576698