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

Side by Side Diff: ios/clean/chrome/browser/ui/tools/tools_consumer.h

Issue 2814963002: [ios clean] Use ToolsMenuConfiguration for Menu context. (Closed)
Patch Set: Rebase and updates TabGrid menu Created 3 years, 8 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_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 // Sets a flag so the consumer knows if it should display the Menu overflow
lpromero 2017/04/18 09:37:01 Optional nit: maybe setDisplayOverflowControls wou
sczs 2017/04/19 14:33:04 I agree. Done.
18 // controls.
19 - (void)displaysOverflowControls:(BOOL)displaysOverflowControls;
17 @end 20 @end
18 21
19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_ 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_CONSUMER_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/tools/menu_view_controller.mm ('k') | ios/clean/chrome/browser/ui/tools/tools_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698