DescriptionAttach NTP to Chrome Home bottom sheet
This change attaches the NTP to the bottom sheet as it's only form
of content. This is done when the user first scrolls up on the
toolbar. As a result, changes also needed to be made to the touch
event handling to allow the sheet and its content to be scrolled
correctly. The sheet's scrolling now uses the following rules:
- If the sheet is not in it's full state, any scroll will move the
sheet.
- In the full state, if the user scrolls the sheet from the toolbar,
the sheet will always move regardless of the state of the content.
- In the full state, if the sheet's content has 0 scroll, a scroll
down on any part of the sheet will move the sheet down.
- In the full state, if the user scrolls the content, the content
will move rather than the sheet.
BUG=671361
Review-Url: https://codereview.chromium.org/2640223002
Cr-Commit-Position: refs/heads/master@{#446133}
Committed: https://chromium.googlesource.com/chromium/src/+/f00c656f579d31ce878b8e472417cd163ddbee95
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase #
Total comments: 22
Patch Set 3 : address comments #
Total comments: 2
Patch Set 4 : address comment #
Total comments: 1
Patch Set 5 : nit #Patch Set 6 : nits #
Dependent Patchsets: Messages
Total messages: 20 (8 generated)
|