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

Issue 2611003002: Autoscroll new background tabs on iPad (Closed)

Created:
3 years, 11 months ago by liaoyuke
Modified:
3 years, 11 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autoscroll new background tabs on iPad On iPads, when many tabs are open, additional tabs opened in the background (through the context menu) will collapse together and remain hidden. Users will have to manually scroll through to see newly opened ones. This CL fixes the issue by enabling the scenario that every time a new tab is inserted, we auto scroll the tab strip view to make it immediately visible. BUG=228419 Review-Url: https://codereview.chromium.org/2611003002 Cr-Commit-Position: refs/heads/master@{#442106} Committed: https://chromium.googlesource.com/chromium/src/+/df4f7e43c1e79a85246f8297f1f0111a967e6a56

Patch Set 1 : Autoscroll new background tabs on iPad #

Patch Set 2 : Addressed Jason's comments to turn on the feature by default #

Total comments: 6

Patch Set 3 : fix #3: tap on tab issue #

Total comments: 5

Patch Set 4 : Updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -6 lines) Patch
M ios/chrome/browser/about_flags.mm View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ios/chrome/browser/chrome_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/chrome_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/experimental_flags.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/experimental_flags.mm View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ios/chrome/browser/resources/Settings.bundle/Experimental.plist View 1 1 chunk +16 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/tabs/tab_strip_controller.mm View 1 2 3 5 chunks +38 lines, -6 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
liaoyuke
Hi Rohit, Please take a look. Tomorrow is the feature freeze day, I really want ...
3 years, 11 months ago (2017-01-05 21:19:46 UTC) #4
liaoyuke
Addressed Jason's offline comments to turn on the feature by default. PTAL!
3 years, 11 months ago (2017-01-05 23:30:48 UTC) #7
rohitrao (ping after 24h)
Looks pretty good! I found some edge cases that we probably want to address before ...
3 years, 11 months ago (2017-01-06 15:35:22 UTC) #8
liaoyuke
On 2017/01/06 15:35:22, rohitrao wrote: > Looks pretty good! > > I found some edge ...
3 years, 11 months ago (2017-01-06 20:44:42 UTC) #9
liaoyuke
Fixed (1) (3), and I will open a new bug to fix (2) separately as ...
3 years, 11 months ago (2017-01-06 20:46:49 UTC) #10
rohitrao (ping after 24h)
https://codereview.chromium.org/2611003002/diff/100001/ios/chrome/browser/ui/tabs/tab_strip_controller.mm File ios/chrome/browser/ui/tabs/tab_strip_controller.mm (right): https://codereview.chromium.org/2611003002/diff/100001/ios/chrome/browser/ui/tabs/tab_strip_controller.mm#newcode656 ios/chrome/browser/ui/tabs/tab_strip_controller.mm:656: [self updateContentOffsetForTabIndex:index isNewTab:NO]; One thing you might want to ...
3 years, 11 months ago (2017-01-06 23:11:04 UTC) #12
rohitrao (ping after 24h)
Let's go back to patchset #2 and add the isNewTab fix on top of that, ...
3 years, 11 months ago (2017-01-06 23:21:37 UTC) #13
liaoyuke
On 2017/01/06 23:21:37, rohitrao wrote: > Let's go back to patchset #2 and add the ...
3 years, 11 months ago (2017-01-06 23:41:23 UTC) #16
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2611003002/diff/120001/ios/chrome/browser/experimental_flags.h File ios/chrome/browser/experimental_flags.h (right): https://codereview.chromium.org/2611003002/diff/120001/ios/chrome/browser/experimental_flags.h#newcode109 ios/chrome/browser/experimental_flags.h:109: // Whether the tab strip auto scroll new ...
3 years, 11 months ago (2017-01-06 23:46:54 UTC) #19
liaoyuke
Thank you for reviewing the code! It's really nice working with you :) Thank you ...
3 years, 11 months ago (2017-01-06 23:55:01 UTC) #20
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/2611003002/140001
3 years, 11 months ago (2017-01-07 00:10:38 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-07 00:21:45 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/df4f7e43c1e79a85246f8297f1f0...

Powered by Google App Engine
This is Rietveld 408576698