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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // ====== New Architecture ===== 5 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. = 6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================ 7 // ============================================================================
8 8
9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_ 9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_
10 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_ 10 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_
11 11
12 #import "ios/clean/chrome/browser/browser_coordinator.h" 12 #import "ios/clean/chrome/browser/browser_coordinator.h"
13 #import "ios/web/public/web_state/web_state_observer_bridge.h" 13
14 namespace web {
15 class WebState;
16 }
14 17
15 // Coordinator to run a toolbar -- a UI element housing controls. 18 // Coordinator to run a toolbar -- a UI element housing controls.
16 @interface ToolbarCoordinator : BrowserCoordinator<CRWWebStateObserver> 19 @interface ToolbarCoordinator : BrowserCoordinator
20 // The web state this ToolbarCoordinator is handling.
21 @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
17 @end 22 @end
18 23
19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_ 24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_COORDINATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698