Commit 52413380 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

[ios] Update visibility of tab strip on trait collection changes.

Only show the tab strip in RegularxRegular trait collection.

Bug: 831978
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Ibcebaeb6c2236a03f0c238f51cf00e66100d9fe5
Reviewed-on: https://chromium-review.googlesource.com/1046128
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556584}
parent 18fa5550
...@@ -164,7 +164,9 @@ const UIEdgeInsets kSearchBoxStretchInsets = {3, 3, 3, 3}; ...@@ -164,7 +164,9 @@ const UIEdgeInsets kSearchBoxStretchInsets = {3, 3, 3, 3};
CGFloat progress = CGFloat progress =
[self.headerView searchFieldProgressForOffset:offset [self.headerView searchFieldProgressForOffset:offset
safeAreaInsets:safeAreaInsets]; safeAreaInsets:safeAreaInsets];
[self.toolbarDelegate setScrollProgressForTabletOmnibox:progress]; if (self.isShowing) {
[self.toolbarDelegate setScrollProgressForTabletOmnibox:progress];
}
} }
NSArray* constraints = NSArray* constraints =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment