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

Issue 2717133002: [tab_container] Hack-in fix for broken constraint on animation (Closed)

Created:
3 years, 9 months ago by edchin
Modified:
3 years, 9 months ago
CC:
chromium-reviews, marq+scrutinize_chromium.org, lpromero+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tab_container] Hack-in fix for broken constraint on animation Custom view controller transition animations must be designed so as not to break constraints on the presented/dismissed VC's view. This CL addresses a broken constraint due to the zoom animator. The zoom animator will resize the VC's view to a small rect. However, that rect is smaller in height than the sum of the height constraints on the subviews of the tab_container. This CL simply reduces the subview height constant. Since the transition animation will likely change, there is no need to modify the zoom animator at this time. BUG= Review-Url: https://codereview.chromium.org/2717133002 Cr-Commit-Position: refs/heads/master@{#453249} Committed: https://chromium.googlesource.com/chromium/src/+/1bcc418f288f8b84643f0f8b34cbe7eb0fd548bd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ios/clean/chrome/browser/ui/tab/tab_container_view_controller.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
edchin
3 years, 9 months ago (2017-02-26 07:25:39 UTC) #3
sczs
lgtm I was seeing that issue as well, I think is a good solution especially ...
3 years, 9 months ago (2017-02-27 16:04:28 UTC) #8
marq (ping after 24h)
LGTM. The zoom animator should eventually use some combination of resizing (to set the aspect ...
3 years, 9 months ago (2017-02-27 16:35:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717133002/1
3 years, 9 months ago (2017-02-27 17:40:06 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 17:54:04 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1bcc418f288f8b84643f0f8b34cb...

Powered by Google App Engine
This is Rietveld 408576698