commit | df5e2cc33a579c47e6242a808195437092b2f344 | [log] [tgz] |
---|---|---|
author | Moe Ahmadi <mahmadi@chromium.org> | Wed Jul 11 19:53:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 11 19:53:45 2018 |
tree | eb4dd47bdb9c042e946a94546417d43685ab52bb | |
parent | 4f799497909efb1abf363546de886bfa71c0025a [diff] |
[AF][IOS] Takes secondary toolbar into account in CC save infobar (Part 2) This CL moves the logic to set the infobar's bottom margin from |-layoutSubviews| to |-sizeThatFits:|. The former method doesn't always get called after the secondary toolbar disappears in landscape mode. The latter does get called more reliably in both portrait and landscape modes. Also provides comments on why |-setFrame:| is overridden. Bug: 849433 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I3ce410378d60535178a0c0c9d0f12f11948772ba Reviewed-on: https://chromium-review.googlesource.com/1112303 Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#574291}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .