OLD | NEW |
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 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ |
7 | 7 |
8 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" | 8 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" |
9 | 9 |
10 namespace web { | |
11 class WebState; | |
12 } | |
13 | |
14 // A coordinator for a UI element that displays the web view associated with | 10 // A coordinator for a UI element that displays the web view associated with |
15 // |webState|. | 11 // the current active web state. |
16 @interface WebCoordinator : BrowserCoordinator | 12 @interface WebCoordinator : BrowserCoordinator |
17 | |
18 // The web state this coordinator is displaying. | |
19 @property(nonatomic, assign) web::WebState* webState; | |
20 | |
21 @end | 13 @end |
22 | 14 |
23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ | 15 #endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_COORDINATOR_H_ |
OLD | NEW |