Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Start] Reland: Make Start not scrollable when the content is…
… shorter than screen." This reverts commit cc20d61. Reason for revert: crbug.com/4021417 Original change's description: > [Start] Reland: Make Start not scrollable when the content is shorter than screen. > > The original CL got reverted because it breaks the scrolling on Start > when splitting screen happens. This CL fixes the issue by querying the > displayMatrics() in real time rather than using the cached value. The CL > also fixes another multiple window issue: when Feeds is disabled, we > have to change the height of the tasks_surface_body back to > "match_parent" to prevent the Feeds's header scrolling above the toolbar > and can't be scrolled back. > > The original CL description is: > 1. Resets Start surface scroll when Feed is turned off. > 2. Sets tasks surface body's height WRAP_CONTENT and check whether tasks > surface view is shorter than the screen size. If it is, makes it not > scrollable by setting AppBarLayout#canDrag false. > > Video: http://shortn/_u5D8TNdiuN > Video for small phone with signin promo: > https://drive.google.com/file/d/1VnUAR4xPbLchgfTVu-6Ti-UCKWpdAQkj/view?usp=share_link > Video for multiple window: https://drive.google.com/file/d/1VDWuXMmKl1BjzaNek8gLA55lQGauleyr/view?usp=share_link > > Bug: 1208486, 1383105 > Change-Id: Ie151f834063d1aa82c47081380114f33d9bec935 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021417 > Reviewed-by: Wei-Yin Chen <wychen@chromium.org> > Reviewed-by: Fred Mello <fredmello@chromium.org> > Commit-Queue: Xi Han <hanxi@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1071891} (cherry picked from commit 95614a1) Bug: 1208486, 1383105, 1385600 Change-Id: I88946a4fed6c3eab712c714fddf05671d2203b22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4117592 Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1086080} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4121615 Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#51} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Xi Han
authored and
Chromium LUCI CQ
committed
Dec 22, 2022
1 parent
6113398
commit bad50f0
Showing
13 changed files
with
59 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.