OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEB_SHELL_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_WEB_SHELL_VIEW_CONTROLLER_H_ |
6 #define IOS_WEB_SHELL_VIEW_CONTROLLER_H_ | 6 #define IOS_WEB_SHELL_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #include "ios/web/public/web_state/ui/crw_web_delegate.h" | 10 #include "ios/web/public/web_state/ui/crw_web_delegate.h" |
(...skipping 15 matching lines...) Expand all Loading... | |
26 | 26 |
27 @property(nonatomic, retain) IBOutlet UIView* containerView; | 27 @property(nonatomic, retain) IBOutlet UIView* containerView; |
28 @property(nonatomic, retain) IBOutlet UIToolbar* toolbarView; | 28 @property(nonatomic, retain) IBOutlet UIToolbar* toolbarView; |
29 | 29 |
30 // Initializes a new ViewController from |MainView.xib| using the given | 30 // Initializes a new ViewController from |MainView.xib| using the given |
31 // |browserState|. | 31 // |browserState|. |
32 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState; | 32 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState; |
33 | 33 |
34 @end | 34 @end |
35 | 35 |
36 @interface ViewController (ExposedForTesting) | |
Eugene But (OOO till 7-30)
2016/04/16 00:38:41
I don't see any issues with making WebState a publ
baxley
2016/04/21 16:09:18
Done.
| |
37 - (CRWWebController*)webController; | |
38 @end | |
39 | |
36 #endif // IOS_WEB_SHELL_VIEW_CONTROLLER_H_ | 40 #endif // IOS_WEB_SHELL_VIEW_CONTROLLER_H_ |
OLD | NEW |