| Index: ios/clean/chrome/browser/ui/tools/tools_mediator.h
|
| diff --git a/ios/clean/chrome/browser/ui/tools/tools_mediator.h b/ios/clean/chrome/browser/ui/tools/tools_mediator.h
|
| index d13f54d914687f3b677f1b7a8a80d07c5a85993e..de0fefa89fae15353f803e0329375b54c83703f7 100644
|
| --- a/ios/clean/chrome/browser/ui/tools/tools_mediator.h
|
| +++ b/ios/clean/chrome/browser/ui/tools/tools_mediator.h
|
| @@ -9,14 +9,22 @@
|
|
|
| @protocol ToolsConsumer;
|
| @class ToolsMenuConfiguration;
|
| +namespace web {
|
| +class WebState;
|
| +}
|
|
|
| // A mediator object that sets a ToolsMenuVC appeareance based on various data
|
| // sources.
|
| @interface ToolsMediator : NSObject
|
| -- (instancetype)initWithConsumer:(id<ToolsConsumer>)consumer
|
| - andConfiguration:(ToolsMenuConfiguration*)menuConfiguration
|
| +- (nullable instancetype)initWithConsumer:(nonnull id<ToolsConsumer>)consumer
|
| + configuration:(nonnull ToolsMenuConfiguration*)
|
| + menuConfiguration
|
| NS_DESIGNATED_INITIALIZER;
|
| -- (instancetype)init NS_UNAVAILABLE;
|
| +- (nullable instancetype)init NS_UNAVAILABLE;
|
| +
|
| +// The WebState whose properties this object mediates. This can change during
|
| +// the lifetime of this object and may be null.
|
| +@property(nonatomic, assign, nullable) web::WebState* webState;
|
| @end
|
|
|
| #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MEDIATOR_H_
|
|
|