Remove custom resizing hooks in GoogleLandingVC
GoogleLandingViewController used to have custom hooks to detect resizing events
or orientation changes. This CL removes them and only use the generic
It also change the NTP constraints for the logo and the omnibox: the constraint
and positioning is the same in landscape and portrait. The omnibox and doodle
are now higher in portrait.
TEST= This CL refactors the NTP. Some regression testing should be done, in particular on rotations.
Issues for which specific fixes have been removed: crbug.com/491131
On iPad and in fullscreen, the collection view's inset is very large. When Chrome enters slide over mode,
the previously set inset is larger than the newly set collection view's width, which makes the collection view throw an exception.
Commit-Queue: Gauthier Ambard <email@example.com>
Reviewed-by: Justin Cohen <firstname.lastname@example.org>
6 files changed