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

Issue 2589973004: [ios] Fixed web-compat bug related to resetting top content inset. (Closed)

Created:
4 years ago by Eugene But (OOO till 7-30)
Modified:
3 years, 12 months ago
Reviewers:
jif
CC:
chromium-reviews, pkl (ping after 24h if needed), sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Fixed web-compat bug related to resetting top content inset. OverscrollActionsController resets top content inset every time when scolling is finished. Before this change it assumed that bottom inset should be always reset to 0. This is not correct for cases when soft keyboard is displayed and bottom offset is non-zero to accomodate the keyboard. This CL adds resetScrollViewTopContentInset method and calls it when scrolling is finished. Remaining fixed will be landed in separate CLs to make changes less risky. BUG=669908, 675763 Committed: https://crrev.com/0774dcc15d6c7f59bcca77b5c2d1288b49911707 Cr-Commit-Position: refs/heads/master@{#440273}

Patch Set 1 #

Patch Set 2 : Merged with origin/master #

Patch Set 3 : Merged with origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm View 1 2 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
Eugene But (OOO till 7-30)
I'm not landing this until upstreaming is finished, but still wanted to get a review.
4 years ago (2016-12-19 23:24:55 UTC) #2
Eugene But (OOO till 7-30)
jif?
4 years ago (2016-12-20 19:31:52 UTC) #7
jif
lgtm
3 years, 12 months ago (2016-12-21 16:39:53 UTC) #8
Eugene But (OOO till 7-30)
Thanks!
3 years, 12 months ago (2016-12-21 16:41:32 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/2589973004/1
3 years, 12 months ago (2016-12-21 21:48:57 UTC) #11
commit-bot: I haz the power
Failed to apply patch for ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm: While running git apply --index -p1; error: patch failed: ...
3 years, 12 months ago (2016-12-21 22:05:26 UTC) #13
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/2589973004/20001
3 years, 12 months ago (2016-12-21 22:26:18 UTC) #16
commit-bot: I haz the power
Failed to apply patch for ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm: While running git apply --index -p1; error: patch failed: ...
3 years, 12 months ago (2016-12-21 22:41:01 UTC) #18
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/2589973004/40001
3 years, 12 months ago (2016-12-21 23:55:19 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 12 months ago (2016-12-22 00:07:39 UTC) #24
commit-bot: I haz the power
3 years, 12 months ago (2016-12-22 00:11:26 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0774dcc15d6c7f59bcca77b5c2d1288b49911707
Cr-Commit-Position: refs/heads/master@{#440273}

Powered by Google App Engine
This is Rietveld 408576698