| 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" |
| 11 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | 11 #import "ios/web/public/web_state/ui/crw_web_view_scroll_view_proxy.h" |
| 12 | 12 |
| 13 namespace ios_internal { | 13 namespace ios_internal { |
| 14 // Duration of the toolbar animation. | 14 // Duration of the toolbar animation. |
| 15 const NSTimeInterval kToolbarAnimationDuration = 0.3; | 15 const NSTimeInterval kToolbarAnimationDuration = 0.3; |
| 16 } // namespace ios_internal | 16 } // namespace ios_internal |
| 17 | 17 |
| 18 @class CRWWebViewScrollViewProxy; | 18 @class CRWWebViewScrollViewProxy; |
| 19 @class FullScreenController; | 19 @class FullScreenController; |
| 20 | 20 |
| 21 namespace web { | 21 namespace web { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 @interface FullScreenController (UsedForTesting) | 118 @interface FullScreenController (UsedForTesting) |
| 119 // Enables/Disables the FullScreenController in tests. The unit tests do not set | 119 // Enables/Disables the FullScreenController in tests. The unit tests do not set |
| 120 // the delegate which is crucial for methods to work on the controller. | 120 // the delegate which is crucial for methods to work on the controller. |
| 121 // This a temporary solution. | 121 // This a temporary solution. |
| 122 // TODO(shreyasv): Find a better solution/remove this when FullScreenController | 122 // TODO(shreyasv): Find a better solution/remove this when FullScreenController |
| 123 // moves to Tab. | 123 // moves to Tab. |
| 124 + (void)setEnabledForTests:(BOOL)enabled; | 124 + (void)setEnabledForTests:(BOOL)enabled; |
| 125 @end | 125 @end |
| 126 | 126 |
| 127 #endif // IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ | 127 #endif // IOS_CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| OLD | NEW |