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

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

Issue 2906313003: [ios clean] ToolsMenu Mediator observes Webstate. (Closed)
Patch Set: 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..1fd2f74797ce2f02aeefba6098c8059fac41e669 100644
--- a/ios/clean/chrome/browser/ui/tools/tools_coordinator.h
+++ b/ios/clean/chrome/browser/ui/tools/tools_coordinator.h
@@ -7,12 +7,19 @@
#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h"
+namespace web {
+class WebState;
marq (ping after 24h) 2017/05/30 09:24:54 nit: alpha order for forward declarations, so web:
sczs 2017/05/31 03:05:47 Done.
+}
@class ToolsMenuConfiguration;
// 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;
marq (ping after 24h) 2017/05/30 09:24:54 Is 'nullable' meaningful for pointers to C++ objec
sczs 2017/05/31 03:05:47 Yes, it works with C++ objects. I think the most m
marq (ping after 24h) 2017/05/31 10:40:31 My current thinking on nullability annotations are
sczs 2017/05/31 23:19:26 Acknowledged.
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_COORDINATOR_H_

Powered by Google App Engine
This is Rietveld 408576698