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

Side by Side Diff: ios/chrome/browser/ui/browser_view_controller.h

Issue 2970553002: [ios] Remove IDC_CLOSE_TAB
Patch Set: Add comment for chrome_test_util.h" Created 3 years, 5 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
7 7
8 #import <MessageUI/MessageUI.h> 8 #import <MessageUI/MessageUI.h>
9 #import <StoreKit/StoreKit.h> 9 #import <StoreKit/StoreKit.h>
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
11 11
12 #import "base/ios/block_types.h" 12 #import "base/ios/block_types.h"
13 #import "ios/chrome/browser/ui/side_swipe/side_swipe_controller.h" 13 #import "ios/chrome/browser/ui/side_swipe/side_swipe_controller.h"
14 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h" 14 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h"
15 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" 15 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h"
16 #import "ios/chrome/browser/ui/url_loader.h" 16 #import "ios/chrome/browser/ui/url_loader.h"
17 #import "ios/public/provider/chrome/browser/voice/voice_search_presenter.h" 17 #import "ios/public/provider/chrome/browser/voice/voice_search_presenter.h"
18 18
19 @protocol BrowserCommands;
19 @class BrowserContainerView; 20 @class BrowserContainerView;
20 @class BrowserViewControllerDependencyFactory; 21 @class BrowserViewControllerDependencyFactory;
21 @class ContextualSearchController; 22 @class ContextualSearchController;
22 @class ContextualSearchPanelView; 23 @class ContextualSearchPanelView;
23 @class FindBarControllerIOS; 24 @class FindBarControllerIOS;
24 class GURL; 25 class GURL;
25 @class NoTabsController; 26 @class NoTabsController;
26 @class PageInfoViewController; 27 @class PageInfoViewController;
27 @class PreloadController; 28 @class PreloadController;
28 @class PrintController; 29 @class PrintController;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 browserState:(ios::ChromeBrowserState*)browserState 65 browserState:(ios::ChromeBrowserState*)browserState
65 dependencyFactory: 66 dependencyFactory:
66 (BrowserViewControllerDependencyFactory*)factory 67 (BrowserViewControllerDependencyFactory*)factory
67 NS_DESIGNATED_INITIALIZER; 68 NS_DESIGNATED_INITIALIZER;
68 69
69 - (instancetype)initWithNibName:(NSString*)nibNameOrNil 70 - (instancetype)initWithNibName:(NSString*)nibNameOrNil
70 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; 71 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
71 72
72 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; 73 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
73 74
75 @property(nonatomic, readonly) id<BrowserCommands> browserCommandDispatcher;
76
74 // The top-level browser container view. 77 // The top-level browser container view.
75 @property(nonatomic, strong) BrowserContainerView* contentArea; 78 @property(nonatomic, strong) BrowserContainerView* contentArea;
76 79
77 // Invisible button used to dismiss the keyboard. 80 // Invisible button used to dismiss the keyboard.
78 @property(nonatomic, strong) UIButton* typingShield; 81 @property(nonatomic, strong) UIButton* typingShield;
79 82
80 // Activates/deactivates the object. This will enable/disable the ability for 83 // Activates/deactivates the object. This will enable/disable the ability for
81 // this object to browse, and to have live UIWebViews associated with it. While 84 // this object to browse, and to have live UIWebViews associated with it. While
82 // not active, the UI will not react to changes in the tab model, so generally 85 // not active, the UI will not react to changes in the tab model, so generally
83 // an inactive BVC should not be visible. 86 // an inactive BVC should not be visible.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // when files have been removed. 157 // when files have been removed.
155 - (void)removeExternalFilesImmediately:(BOOL)immediately 158 - (void)removeExternalFilesImmediately:(BOOL)immediately
156 completionHandler:(ProceduralBlock)completionHandler; 159 completionHandler:(ProceduralBlock)completionHandler;
157 160
158 // Called before the instance is deallocated. 161 // Called before the instance is deallocated.
159 - (void)shutdown; 162 - (void)shutdown;
160 163
161 @end 164 @end
162 165
163 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 166 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm ('k') | ios/chrome/browser/ui/browser_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698