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

Issue 1961073002: Add the snippet header back into the code and show the snippet header when the user scrolls the sni… (Closed)

Created:
4 years, 7 months ago by mcwilliams
Modified:
4 years, 7 months ago
Reviewers:
Bernhard Bauer, May
CC:
chromium-reviews, mcwilliams+watch_chromium.org, dgn+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the snippet header back into the code and show the snippet header Show the header when the user scrolls the snippets towards the top of the viewport. videos: Nexus5: https://drive.google.com/open?id=0B1IgAIJ9cgizZ3h5QUVPaEhmMUE Nexus6: https://drive.google.com/open?id=0B1IgAIJ9cgizZ3h5QUVPaEhmMUE BUG=596418, 608918 Committed: https://crrev.com/8481607348529fd6085c243257f4b547cd5e5bef Cr-Commit-Position: refs/heads/master@{#392882}

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -50 lines) Patch
M chrome/android/java/res/layout/new_tab_page_snippets_header.xml View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java View 1 2 3 4 5 4 chunks +92 lines, -40 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapter.java View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
mcwilliams
4 years, 7 months ago (2016-05-09 15:50:34 UTC) #3
May
In general: it feels like we are doing too much in NewTabPageView. Can we achieve ...
4 years, 7 months ago (2016-05-09 16:15:19 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/res/layout/new_tab_page_snippets_header.xml File chrome/android/java/res/layout/new_tab_page_snippets_header.xml (right): https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/res/layout/new_tab_page_snippets_header.xml#newcode15 chrome/android/java/res/layout/new_tab_page_snippets_header.xml:15: android:gravity="start|center" /> "center" is basically a shortcut for "center_vertical|center_horizontal", ...
4 years, 7 months ago (2016-05-09 17:47:41 UTC) #6
mcwilliams
https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java (right): https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java#newcode125 chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java:125: private int mViewPortHeight; On 2016/05/09 16:15:19, May wrote: > ...
4 years, 7 months ago (2016-05-10 09:26:05 UTC) #8
May
lgtm Can you file a tracking bug to move the peeking card and header logic ...
4 years, 7 months ago (2016-05-10 13:46:09 UTC) #9
mcwilliams
crbug://610692 https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/res/layout/new_tab_page_snippets_header.xml File chrome/android/java/res/layout/new_tab_page_snippets_header.xml (right): https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/res/layout/new_tab_page_snippets_header.xml#newcode15 chrome/android/java/res/layout/new_tab_page_snippets_header.xml:15: android:gravity="start|center" /> On 2016/05/09 17:47:40, Bernhard Bauer wrote: ...
4 years, 7 months ago (2016-05-10 13:59:09 UTC) #10
Bernhard Bauer
On 2016/05/10 13:59:09, mcwilliams wrote: > crbug://610692 That's not a valid URL scheme 😉 Most ...
4 years, 7 months ago (2016-05-10 14:14:19 UTC) #11
mcwilliams
PTAL https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java (right): https://codereview.chromium.org/1961073002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java#newcode508 chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java:508: if (snippetHeader != null && snippetHeader.isShown()) { On ...
4 years, 7 months ago (2016-05-10 14:25:38 UTC) #12
Bernhard Bauer
LGTM!
4 years, 7 months ago (2016-05-10 14:33:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961073002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961073002/60001
4 years, 7 months ago (2016-05-10 14:42:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961073002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961073002/80001
4 years, 7 months ago (2016-05-10 15:53:27 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/63640)
4 years, 7 months ago (2016-05-10 16:54:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961073002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961073002/100001
4 years, 7 months ago (2016-05-11 08:36:14 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-11 09:21:54 UTC) #28
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 09:23:14 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8481607348529fd6085c243257f4b547cd5e5bef
Cr-Commit-Position: refs/heads/master@{#392882}

Powered by Google App Engine
This is Rietveld 408576698