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

Unified Diff: ios/chrome/browser/ui/fullscreen_controller.mm

Issue 2590863002: Removing obsolete code. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « ios/chrome/browser/ui/fullscreen_controller.h ('k') | ios/chrome/browser/ui/fullscreen_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698