OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // ToolbarConsumer sets the current appearance of the Toolbar based on |
| 11 // WebState or other data sources provided by this protocol. |
| 12 @protocol ToolbarConsumer |
| 13 // Sets the text for a label appearing in the center of the toolbar. |
| 14 - (void)setCurrentPageText:(NSString*)text; |
| 15 @end |
| 16 |
| 17 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSUMER_H_ |
OLD | NEW |