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

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

Issue 2599313002: Create headerHeightForTab in TabHeadersDelegate. (Closed)
Patch Set: only fullscreencontroller and sideswipecontroller Created 3 years, 11 months 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_unittest.mm
diff --git a/ios/chrome/browser/ui/fullscreen_controller_unittest.mm b/ios/chrome/browser/ui/fullscreen_controller_unittest.mm
index 0e3aec6abb027aa2f6826c2bc8f44763ee20eac6..ef428f067a926f880328a2cc6416bef263d9208f 100644
--- a/ios/chrome/browser/ui/fullscreen_controller_unittest.mm
+++ b/ios/chrome/browser/ui/fullscreen_controller_unittest.mm
@@ -60,7 +60,11 @@ CGFloat kHeaderHeight = 42.0;
return currentPosition_;
}
-- (CGFloat)headerHeight {
+- (CGFloat)headerHeightForCurrentTab {
+ return kHeaderHeight;
+}
+
+- (CGFloat)headerHeightForTab:(Tab*)tab {
return kHeaderHeight;
}

Powered by Google App Engine
This is Rietveld 408576698