Index: ios/chrome/browser/ui/fullscreen_controller.mm |
diff --git a/ios/chrome/browser/ui/fullscreen_controller.mm b/ios/chrome/browser/ui/fullscreen_controller.mm |
index 0f3632e09dfa84c896ac0a0942617d44040d6508..83979807b80385479dbaad8892aaf4331259756f 100644 |
--- a/ios/chrome/browser/ui/fullscreen_controller.mm |
+++ b/ios/chrome/browser/ui/fullscreen_controller.mm |
@@ -40,10 +40,6 @@ CGFloat kPrecision = 0.00001; |
// Duration for the delay before showing the omnibox. |
const double kShowOmniboxDelaySeconds = 0.5; |
-// Default duration for the delay before hiding the omnibox. |
-const double kDefaultHideOmniboxDelaySeconds = 3.0; |
-// Duration for the delay before hiding the omnibox. |
-double gHideOmniboxDelaySeconds = kDefaultHideOmniboxDelaySeconds; |
// Indicates if the FullScreenController returns nil from |init|. Used for |
// testing purposes. |
BOOL gEnabledForTests = YES; |
@@ -826,14 +822,6 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) { |
#pragma mark - Used for testing |
-+ (void)setHideOmniboxDelaySeconds:(double)hideOmniboxDelaySeconds { |
- gHideOmniboxDelaySeconds = hideOmniboxDelaySeconds; |
-} |
- |
-+ (void)resetHideOmniboxDelaySeconds { |
- gHideOmniboxDelaySeconds = kDefaultHideOmniboxDelaySeconds; |
-} |
- |
+ (void)setEnabledForTests:(BOOL)enabled { |
gEnabledForTests = enabled; |
} |