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

Unified Diff: ios/web/shell/view_controller.h

Issue 1890333002: Web shell test to go back and forward. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor Created 4 years, 8 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/web/shell/view_controller.h
diff --git a/ios/web/shell/view_controller.h b/ios/web/shell/view_controller.h
index 5e693256f0dcb2340c938c3ff6348b6269fb152f..1471e03a2bdcfcb19cf520cac6fa9b5e23945cb1 100644
--- a/ios/web/shell/view_controller.h
+++ b/ios/web/shell/view_controller.h
@@ -9,6 +9,7 @@
namespace web {
class BrowserState;
+class WebState;
}
// Accessibility label for the back button.
@@ -23,11 +24,14 @@ extern NSString* const kWebShellAddressFieldAccessibilityLabel;
@property(nonatomic, retain) IBOutlet UIView* containerView;
@property(nonatomic, retain) IBOutlet UIToolbar* toolbarView;
+//@property(nonatomic, assign, readonly) web::WebState* webState;
// Initializes a new ViewController from |MainView.xib| using the given
// |browserState|.
- (instancetype)initWithBrowserState:(web::BrowserState*)browserState;
+- (web::WebState*)webState;
+
@end
#endif // IOS_WEB_SHELL_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698