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

Side by Side Diff: ios/web/shell/view_controller.h

Issue 1149323004: Upstream the iOS web_shell and supporting code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-thread-impl
Patch Set: Address review comments Created 5 years, 7 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
« no previous file with comments | « ios/web/shell/shell_web_main_parts.mm ('k') | ios/web/shell/view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_SHELL_VIEW_CONTROLLER_H_
6 #define IOS_WEB_SHELL_VIEW_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "ios/web/public/web_state/crw_web_delegate.h"
11
12 namespace web {
13 class BrowserState;
14 }
15
16 // Implements the main UI for ios_web_shell, including a toolbar and web view.
17 @interface ViewController
18 : UIViewController<CRWWebDelegate, UITextFieldDelegate>
19
20 @property(nonatomic, retain) IBOutlet UIView* containerView;
21 @property(nonatomic, retain) IBOutlet UIToolbar* toolbarView;
22
23 // Initializes a new ViewController from |MainView.xib| using the given
24 // |browserState|.
25 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState;
26
27 @end
28
29 #endif // IOS_WEB_SHELL_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/web/shell/shell_web_main_parts.mm ('k') | ios/web/shell/view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698