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

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

Issue 2814963002: [ios clean] Use ToolsMenuConfiguration for Menu context. (Closed)
Patch Set: 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_MEDIATOR_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 @protocol ToolsConsumer; 10 @protocol ToolsConsumer;
11 @class ToolsMenuConfiguration;
11 12
12 // A mediator object that sets a ToolsMenuVC appeareance based on various data 13 // A mediator object that sets a ToolsMenuVC appeareance based on various data
13 // sources. 14 // sources.
14 @interface ToolsMediator : NSObject 15 @interface ToolsMediator : NSObject
15 - (instancetype)initWithConsumer:(id<ToolsConsumer>)consumer 16 - (instancetype)initWithConsumer:(id<ToolsConsumer>)consumer
16 NS_DESIGNATED_INITIALIZER; 17 NS_DESIGNATED_INITIALIZER;
17 - (instancetype)init NS_UNAVAILABLE; 18 - (instancetype)init NS_UNAVAILABLE;
19 @property(nonatomic, strong) ToolsMenuConfiguration* toolsMenuConfiguration;
18 @end 20 @end
19 21
20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_ 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698