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

Issue 2439763002: [Android NTP] Move getDismissSiblingPosDelta into the TreeNode interface. (Closed)

Created:
4 years, 2 months ago by Bernhard Bauer
Modified:
4 years, 1 month ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android NTP] Move getDismissSiblingPosDelta into the TreeNode interface. BUG=616090 Committed: https://crrev.com/f68a448d9ae71c94692ab156a75b85c2d0e301b9 Cr-Commit-Position: refs/heads/master@{#426783}

Patch Set 1 #

Total comments: 2

Patch Set 2 : format #

Total comments: 2

Patch Set 3 : review #

Messages

Total messages: 23 (13 generated)
Bernhard Bauer
Please review. Thanks!
4 years, 2 months ago (2016-10-20 14:58:39 UTC) #4
Michael van Ouwerkerk
https://codereview.chromium.org/2439763002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java (right): https://codereview.chromium.org/2439763002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java#newcode44 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java:44: * Display the data for this item. ws?
4 years, 2 months ago (2016-10-20 15:03:59 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/2439763002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java (right): https://codereview.chromium.org/2439763002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java#newcode44 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Leaf.java:44: * Display the data for this item. On 2016/10/20 ...
4 years, 2 months ago (2016-10-20 17:40:27 UTC) #8
dgn
We were discussing with Michael about some changes related dismissing siblings. When an item is ...
4 years, 2 months ago (2016-10-21 10:52:08 UTC) #10
dgn
lgtm
4 years, 2 months ago (2016-10-21 10:52:22 UTC) #11
Bernhard Bauer
https://codereview.chromium.org/2439763002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/InnerNode.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/InnerNode.java (right): https://codereview.chromium.org/2439763002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/InnerNode.java#newcode45 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/InnerNode.java:45: TreeNode getContainingChildForPosition(int position) { On 2016/10/21 10:52:08, dgn wrote: ...
4 years, 2 months ago (2016-10-21 12:09:24 UTC) #14
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/2439763002/40001
4 years, 2 months ago (2016-10-21 13:17:09 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-21 13:28:18 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f68a448d9ae71c94692ab156a75b85c2d0e301b9 Cr-Commit-Position: refs/heads/master@{#426783}
4 years, 2 months ago (2016-10-21 13:32:27 UTC) #22
Michael van Ouwerkerk
4 years, 1 month ago (2016-10-24 13:18:36 UTC) #23
Message was sent while issue was closed.
On 2016/10/21 10:52:08, dgn wrote:
> We were discussing with Michael about some changes related dismissing
siblings.
> 
> When an item is dismissed, it goes onChildDraw() => onSwipe() => clearView().
We
> currently don't call clearView() with the sibling, which might be the cause of
a
> visual glitch.
> 
> Addressing that might involve resolving the sibling differently, so maybe this
> code will go away anyway.
> 
> I'll leave it up to Michael, since I think he will implement the change.
> 

I fixed that swipe rendering glitch in
https://codereview.chromium.org/2437923004/

I did it in the rebinding, not in clearView().

Powered by Google App Engine
This is Rietveld 408576698