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

Issue 554393008: [Athena] Simple pull to refresh implementation (Closed)

Created:
6 years, 3 months ago by pkotwicz
Modified:
6 years, 3 months ago
Reviewers:
oshima, jam, mfomitchev, sadrul
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Athena] Simple pull to refresh implementation BUG=408964 TEST=Manual Committed: https://crrev.com/9f334b9eb935190e4246fc4b3a85a5114013033b Cr-Commit-Position: refs/heads/master@{#295905}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -8 lines) Patch
M athena/content/web_activity.cc View 1 2 3 6 chunks +55 lines, -1 line 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 3 chunks +13 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 3 chunks +184 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 25 (7 generated)
pkotwicz
Sadrul, PTAL I have asked Albert, and we want a basic implementation of pull to ...
6 years, 3 months ago (2014-09-10 22:56:21 UTC) #2
sadrul
https://codereview.chromium.org/554393008/diff/1/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/1/athena/content/web_activity.cc#newcode256 athena/content/web_activity.cc:256: reload_message_->GetLayer()->SetOpacity(std::min(1.0f, opacity)); opacity will be negative when overscroll_y_ < ...
6 years, 3 months ago (2014-09-11 04:33:14 UTC) #3
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/554393008/diff/1/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/1/athena/content/web_activity.cc#newcode256 athena/content/web_activity.cc:256: reload_message_->GetLayer()->SetOpacity(std::min(1.0f, opacity)); ...
6 years, 3 months ago (2014-09-11 22:51:40 UTC) #6
pkotwicz
I will add a test (probably to WebContentsViewAuraTest) once you are happy with the code
6 years, 3 months ago (2014-09-11 22:56:56 UTC) #7
sadrul
LGTM
6 years, 3 months ago (2014-09-12 04:46:43 UTC) #8
pkotwicz
mfomitchev@, can you please take a look at the changes in web_contents_view_aura_browsertest.cc
6 years, 3 months ago (2014-09-15 20:21:50 UTC) #10
pkotwicz
mfomitchev@ Ping?
6 years, 3 months ago (2014-09-17 00:37:10 UTC) #11
mfomitchev
https://codereview.chromium.org/554393008/diff/80001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/80001/athena/content/web_activity.cc#newcode271 athena/content/web_activity.cc:271: reload_message_->Hide(); Shouldn't we hide the widget and reset overscroll_y_ ...
6 years, 3 months ago (2014-09-17 21:57:22 UTC) #12
pkotwicz
mfomitchev@ can you please take another look?
6 years, 3 months ago (2014-09-18 14:18:23 UTC) #14
pkotwicz
https://codereview.chromium.org/554393008/diff/80001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/80001/athena/content/web_activity.cc#newcode271 athena/content/web_activity.cc:271: reload_message_->Hide(); Thanks for pointing this out. Fixed!
6 years, 3 months ago (2014-09-18 14:18:32 UTC) #15
mfomitchev
LGTM
6 years, 3 months ago (2014-09-18 17:21:22 UTC) #16
pkotwicz
jam@ for content OWNERS oshima@ for athena OWNERS
6 years, 3 months ago (2014-09-18 17:24:57 UTC) #18
oshima
lgtm https://codereview.chromium.org/554393008/diff/120001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/120001/athena/content/web_activity.cc#newcode268 athena/content/web_activity.cc:268: reload_message_->GetLayer()->SetOpacity(opacity); I wonder if we should animation opacity ...
6 years, 3 months ago (2014-09-18 18:01:03 UTC) #19
pkotwicz
https://codereview.chromium.org/554393008/diff/120001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/554393008/diff/120001/athena/content/web_activity.cc#newcode268 athena/content/web_activity.cc:268: reload_message_->GetLayer()->SetOpacity(opacity); We get gesture events often enough that I ...
6 years, 3 months ago (2014-09-18 18:47:28 UTC) #20
jam
lgtm
6 years, 3 months ago (2014-09-19 18:43:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/554393008/140001
6 years, 3 months ago (2014-09-21 15:25:17 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:140001) as 97f728d68d40e80d9359f0073526d19ee34e1601
6 years, 3 months ago (2014-09-21 16:23:07 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-21 16:23:33 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9f334b9eb935190e4246fc4b3a85a5114013033b
Cr-Commit-Position: refs/heads/master@{#295905}

Powered by Google App Engine
This is Rietveld 408576698