OLD | NEW |
---|---|
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_TOOLS_TOOLS_CONSUMER_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 // ToolsConsumer sets the current appearance of the ToolsMenu based on | 10 // ToolsConsumer sets the current appearance of the ToolsMenu based on |
11 // various sources provided by the mediator. | 11 // various sources provided by the mediator. |
12 @protocol ToolsConsumer | 12 @protocol ToolsConsumer |
13 // PLACEHOLDER: The current methods in this protocol are not intended to be | 13 // PLACEHOLDER: The current methods in this protocol are not intended to be |
14 // final and might change depending on how ToolsMenuVC model is set up. | 14 // final and might change depending on how ToolsMenuVC model is set up. |
15 // Sets the Tools Menu items. | 15 // Sets the Tools Menu items. |
16 - (void)setToolsMenuItems:(NSArray*)menuItems; | 16 - (void)setToolsMenuItems:(NSArray*)menuItems; |
17 | |
18 - (void)canDisplayOverflowControls:(BOOL)displayOverflowControls; | |
sczs
2017/04/12 00:59:26
Name is not final, but any suggestions are welcome
marq (ping after 24h)
2017/04/14 10:01:52
Total nit, but:
rather than -canDisplay ..., i'd
sczs
2017/04/14 22:21:07
Agree, I was thinking of can because this is not t
| |
17 @end | 19 @end |
18 | 20 |
19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ | 21 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ |
OLD | NEW |