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

Issue 1995433003: Adding elevation to NTP snippets (Closed)

Created:
4 years, 7 months ago by mcwilliams
Modified:
4 years, 7 months ago
Reviewers:
Bernhard Bauer, Torne
CC:
chromium-reviews, mvanouwerkerk+watch_chromium.org, 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

Adding elevation to NTP snippets Add elevation to the snippet cards so the peeking card is more prominent and the last snippet has elevation especially when you dismiss cards and when there is a space between the last snippet and the bottom of the screen Video: https://drive.google.com/open?id=0B1IgAIJ9cgizb2FWM29QU1JSSU0 BUG=611974, 611445 Committed: https://crrev.com/84ee518a8941b23498f9c3dc6c5421808143c855 Cr-Commit-Position: refs/heads/master@{#394563}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -66 lines) Patch
M base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java View 1 1 chunk +11 lines, -0 lines 0 comments Download
D chrome/android/java/res/drawable/snippet_separator.xml View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java View 1 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java View 1 2 3 4 1 chunk +24 lines, -48 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
mcwilliams
4 years, 7 months ago (2016-05-18 14:13:49 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995433003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995433003/1
4 years, 7 months ago (2016-05-18 14:30:35 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/7634) ios-device-gn on ...
4 years, 7 months ago (2016-05-18 14:32:04 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/1995433003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java (right): https://codereview.chromium.org/1995433003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java#newcode31 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java:31: if (childPos == adapter.getItemCount() - 1 || childPos == ...
4 years, 7 months ago (2016-05-18 14:49:38 UTC) #9
dgn
Will the new logic also fix the separator glitches? https://bugs.chromium.org/p/chromium/issues/detail?id=611445 when swiping away snippets?
4 years, 7 months ago (2016-05-18 16:21:26 UTC) #10
Torne
base/android LGTM
4 years, 7 months ago (2016-05-18 16:59:56 UTC) #12
mcwilliams
On 2016/05/18 16:21:26, dgn wrote: > Will the new logic also fix the separator glitches? ...
4 years, 7 months ago (2016-05-18 17:00:40 UTC) #13
mcwilliams
PTAL https://codereview.chromium.org/1995433003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java (right): https://codereview.chromium.org/1995433003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java#newcode31 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java:31: if (childPos == adapter.getItemCount() - 1 || childPos ...
4 years, 7 months ago (2016-05-18 17:01:55 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995433003/40001
4 years, 7 months ago (2016-05-18 17:03:01 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/7824)
4 years, 7 months ago (2016-05-18 17:10:02 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995433003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995433003/60001
4 years, 7 months ago (2016-05-18 17:12:50 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/7849)
4 years, 7 months ago (2016-05-18 17:18:56 UTC) #23
Michael van Ouwerkerk
Drive-by review :-) https://codereview.chromium.org/1995433003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java (right): https://codereview.chromium.org/1995433003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java#newcode19 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java:19: * A decorator that places separators ...
4 years, 7 months ago (2016-05-18 17:28:25 UTC) #24
mcwilliams
https://codereview.chromium.org/1995433003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java (right): https://codereview.chromium.org/1995433003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java#newcode19 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetItemDecoration.java:19: * A decorator that places separators between RecyclerView items ...
4 years, 7 months ago (2016-05-18 17:32:15 UTC) #25
Bernhard Bauer
lgtm
4 years, 7 months ago (2016-05-18 18:30:12 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995433003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995433003/80001
4 years, 7 months ago (2016-05-18 20:31:01 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-18 21:58:39 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 22:00:56 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/84ee518a8941b23498f9c3dc6c5421808143c855
Cr-Commit-Position: refs/heads/master@{#394563}

Powered by Google App Engine
This is Rietveld 408576698