| OLD | NEW |
| 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> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; | 70 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; |
| 71 | 71 |
| 72 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; | 72 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |
| 73 | 73 |
| 74 // The top-level browser container view. | 74 // The top-level browser container view. |
| 75 @property(nonatomic, retain) BrowserContainerView* contentArea; | 75 @property(nonatomic, retain) BrowserContainerView* contentArea; |
| 76 | 76 |
| 77 // Invisible button used to dismiss the keyboard. | 77 // Invisible button used to dismiss the keyboard. |
| 78 @property(nonatomic, retain) UIButton* typingShield; | 78 @property(nonatomic, retain) UIButton* typingShield; |
| 79 | 79 |
| 80 // Valid only for tablet. YES if the tab strip will display the mode toggle | |
| 81 // switch. May be set to the same value repeatedly with no layout penalty | |
| 82 // (guaranteed by the tab strip). | |
| 83 @property(nonatomic, assign) BOOL hasModeToggleSwitch; | |
| 84 | |
| 85 // Activates/deactivates the object. This will enable/disable the ability for | 80 // Activates/deactivates the object. This will enable/disable the ability for |
| 86 // this object to browse, and to have live UIWebViews associated with it. While | 81 // this object to browse, and to have live UIWebViews associated with it. While |
| 87 // not active, the UI will not react to changes in the tab model, so generally | 82 // not active, the UI will not react to changes in the tab model, so generally |
| 88 // an inactive BVC should not be visible. | 83 // an inactive BVC should not be visible. |
| 89 @property(nonatomic, assign, getter=isActive) BOOL active; | 84 @property(nonatomic, assign, getter=isActive) BOOL active; |
| 90 | 85 |
| 91 // Returns whether or not text to speech is playing. | 86 // Returns whether or not text to speech is playing. |
| 92 @property(nonatomic, assign, readonly, getter=isPlayingTTS) BOOL playingTTS; | 87 @property(nonatomic, assign, readonly, getter=isPlayingTTS) BOOL playingTTS; |
| 93 | 88 |
| 94 // Returns the TabModel passed to the initializer. | 89 // Returns the TabModel passed to the initializer. |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 148 |
| 154 // Removes files received from other applications. If |immediately| is YES, | 149 // Removes files received from other applications. If |immediately| is YES, |
| 155 // initiates the removal of files immediately. |completionHandler| is called | 150 // initiates the removal of files immediately. |completionHandler| is called |
| 156 // when files have been removed. | 151 // when files have been removed. |
| 157 - (void)removeExternalFilesImmediately:(BOOL)immediately | 152 - (void)removeExternalFilesImmediately:(BOOL)immediately |
| 158 completionHandler:(ProceduralBlock)completionHandler; | 153 completionHandler:(ProceduralBlock)completionHandler; |
| 159 | 154 |
| 160 @end | 155 @end |
| 161 | 156 |
| 162 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ | 157 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ |
| OLD | NEW |