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

[ios] Show toolbar in ntp header view.

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I913bc2bbe5d6ef5a2434d44c020c34bf5299343e
Reviewed-on: https://chromium-review.googlesource.com/916712Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536707}
parent 3a7132ca
...@@ -34,14 +34,6 @@ ...@@ -34,14 +34,6 @@
return self; return self;
} }
- (void)traitCollectionDidChange:(UITraitCollection*)previousTraitCollection {
[super traitCollectionDidChange:previousTraitCollection];
// TODO(crbug.com/808429) This logic is specific to phone. This will need to
// be updated when tablet also shows the |toolBarView|.
self.toolBarView.hidden =
self.traitCollection.verticalSizeClass == UIUserInterfaceSizeClassRegular;
}
#pragma mark - NTPHeaderViewAdapter #pragma mark - NTPHeaderViewAdapter
- (void)addToolbarView:(UIView*)toolbarView { - (void)addToolbarView:(UIView*)toolbarView {
......
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