| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FULLSCREEN_CONTROLLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ | 6 #define IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/web/public/web_state/crw_web_controller_observer.h" | 10 #import "ios/web/public/web_state/crw_web_controller_observer.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 - (void)moveContentBelowHeader; | 120 - (void)moveContentBelowHeader; |
| 121 @end | 121 @end |
| 122 | 122 |
| 123 @interface FullScreenController (UsedForTesting) | 123 @interface FullScreenController (UsedForTesting) |
| 124 // Enables/Disables the FullScreenController in tests. The unit tests do not set | 124 // Enables/Disables the FullScreenController in tests. The unit tests do not set |
| 125 // the delegate which is crucial for methods to work on the controller. | 125 // the delegate which is crucial for methods to work on the controller. |
| 126 // This a temporary solution. | 126 // This a temporary solution. |
| 127 // TODO(shreyasv): Find a better solution/remove this when FullScreenController | 127 // TODO(shreyasv): Find a better solution/remove this when FullScreenController |
| 128 // moves to Tab. | 128 // moves to Tab. |
| 129 + (void)setEnabledForTests:(BOOL)enabled; | 129 + (void)setEnabledForTests:(BOOL)enabled; |
| 130 // Sets the hide omnibox delay. If set to 0.0, the omnibox is hidden | |
| 131 // synchronously. | |
| 132 + (void)setHideOmniboxDelaySeconds:(double)hideOmniboxDelaySeconds; | |
| 133 // Resets the hide omnibox delay to its default value. | |
| 134 + (void)resetHideOmniboxDelaySeconds; | |
| 135 @end | 130 @end |
| 136 | 131 |
| 137 #endif // IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ | 132 #endif // IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| OLD | NEW |