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

Unified Diff: ios/web_view/shell/shell_view_controller.h

Issue 2643773005: Upstream ios/web_view source code. (Closed)
Patch Set: Remove request tracker and fix pointer to CRIWVWebMainParts. Created 3 years, 11 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_view/shell/shell_view_controller.h
diff --git a/ios/web_view/shell/shell_view_controller.h b/ios/web_view/shell/shell_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab490a8c55a7dd5820b130887aad48dbab7ac3d6
--- /dev/null
+++ b/ios/web_view/shell/shell_view_controller.h
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_
+#define IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_
+
+#import <UIKit/UIKit.h>
+
+#import "ios/web_view/public/criwv_web_view_delegate.h"
+
+// Implements the main UI for web_view_shell, including the toolbar and web
+// view.
+@interface ShellViewController
+ : UIViewController<CRIWVWebViewDelegate, UITextFieldDelegate>
+
+// Exposed for interface builder.
+@property(nonatomic, retain) IBOutlet UIView* containerView;
+@property(nonatomic, retain) IBOutlet UIToolbar* toolbarView;
+
+// Designated initializer.
+- (instancetype)init;
+
+@end
+
+#endif // IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698