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

Unified Diff: ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.h

Issue 2708013002: [ios clean] Creates ToolbarWebState Mediator (Closed)
Patch Set: Renaming feedback Created 3 years, 10 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/toolbar/toolbar_coordinator.h
diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.h b/ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.h
index 8d74ee3dfa304a5c8294f7c92faa5329b198bac7..3bd00dfd58bb644804103304ea2ebae715111e8d 100644
--- a/ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.h
+++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.h
@@ -10,10 +10,15 @@
#define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_
#import "ios/clean/chrome/browser/browser_coordinator.h"
-#import "ios/web/public/web_state/web_state_observer_bridge.h"
+
+namespace web {
+class WebState;
+}
// Coordinator to run a toolbar -- a UI element housing controls.
-@interface ToolbarCoordinator : BrowserCoordinator<CRWWebStateObserver>
+@interface ToolbarCoordinator : BrowserCoordinator
+// The web state this ToolbarCoordinator is handling.
+@property(nonatomic, assign) web::WebState* webState;
edchin 2017/02/21 18:39:08 If this webState is required, consider a custom in
sczs 2017/02/21 19:04:09 I was thinking the exact same thing! But I'm not s
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_

Powered by Google App Engine
This is Rietveld 408576698