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

Unified Diff: ios/chrome/browser/ui/fullscreen_controller.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.mm
diff --git a/ios/chrome/browser/ui/fullscreen_controller.mm b/ios/chrome/browser/ui/fullscreen_controller.mm
index f964931605757e58fe6a174eb030f35243f137b4..dfddffccec2b7b5375e140e36aa87284e94e91c9 100644
--- a/ios/chrome/browser/ui/fullscreen_controller.mm
+++ b/ios/chrome/browser/ui/fullscreen_controller.mm
@@ -326,7 +326,7 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) {
}
- (CGFloat)headerHeight {
- return [self.delegate headerHeight];
+ return [self.delegate headerHeightForCurrentTab];
}
- (CGFloat)topContentInsetCausedByHeader {

Powered by Google App Engine
This is Rietveld 408576698