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

Unified Diff: ios/clean/chrome/browser/ui/tools/tools_coordinator.h

Issue 2906313003: [ios clean] ToolsMenu Mediator observes Webstate. (Closed)
Patch Set: Improved comments and test nits Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/tools/tools_coordinator.h
diff --git a/ios/clean/chrome/browser/ui/tools/tools_coordinator.h b/ios/clean/chrome/browser/ui/tools/tools_coordinator.h
index 457392d689dba3c7991145cbabd97275f986f5d8..b7b89fe2abc1464f8bc6f0742e9c6fcc4a9dfb9d 100644
--- a/ios/clean/chrome/browser/ui/tools/tools_coordinator.h
+++ b/ios/clean/chrome/browser/ui/tools/tools_coordinator.h
@@ -8,11 +8,18 @@
#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h"
@class ToolsMenuConfiguration;
+namespace web {
+class WebState;
+}
// Coordinator that shows an inteface for the user to select a
// tool or action to use.
@interface ToolsCoordinator : BrowserCoordinator
-@property(nonatomic, strong) ToolsMenuConfiguration* toolsMenuConfiguration;
+// The current Toolbar configuration for this coordinator.
+@property(nonatomic, strong, nonnull)
+ ToolsMenuConfiguration* toolsMenuConfiguration;
+// The web state this ToolbarCoordinator is handling.
+@property(nonatomic, assign, nullable) web::WebState* webState;
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_COORDINATOR_H_

Powered by Google App Engine
This is Rietveld 408576698