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

Issue 769273002: Hide/show topbar when scrolling page up or down. (Closed)

Created:
6 years ago by elisabets
Modified:
6 years ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Hide/show topbar when scrolling page up or down. Topbar was not hiding while scrolling down at some pages starting with a table. It did show up however if previously hidden when scrolling up. With this change, topbar animation is triggered for both up & down scrolling. See for example http://sv.wikipedia.org/wiki/M%C3%B6lnlycke and try scrolling down, topbar is not hidden. BUG=438548 Committed: https://crrev.com/01d84d33126f4162c9bd0c7c7f9a2e5970ea2e73 Cr-Commit-Position: refs/heads/master@{#308340}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added test case and fixed when to return from function 'ShouldTopControlsConsumeScroll' #

Patch Set 3 : Moved test case to correct(er) place #

Patch Set 4 : arrrr.. corrected the wrong name for the test set. #

Patch Set 5 : test code changed during review. Trying again. #

Patch Set 6 : another place #

Patch Set 7 : Fixed test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -4 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (19 generated)
elisabets
Made a smaller change in top bar behaviour, top bar should consume scroll event for ...
6 years ago (2014-12-02 14:28:32 UTC) #2
elisabets
On 2014/12/02 14:28:32, elisabets wrote: > Made a smaller change in top bar behaviour, top ...
6 years ago (2014-12-02 14:32:58 UTC) #3
jonab
Note that it reproduces only when pan scrolling the page in chrome, when fling-scrolling, the ...
6 years ago (2014-12-02 15:31:32 UTC) #4
sky
I'm not a good reviewer for this. -sky
6 years ago (2014-12-02 16:20:18 UTC) #6
aelias_OOO_until_Jul13
Please file a new bug describing the symptom and link BUG= to it, and write ...
6 years ago (2014-12-02 19:55:03 UTC) #8
elisabets
https://codereview.chromium.org/769273002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/769273002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2573 cc/trees/layer_tree_host_impl.cc:2573: if (scroll_delta.y() != 0) Ah, so the CurrentlyScrollingLayer is ...
6 years ago (2014-12-05 13:30:26 UTC) #9
aelias_OOO_until_Jul13
lgtm, thanks!
6 years ago (2014-12-05 19:31:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/20001
6 years ago (2014-12-08 07:52:09 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/23904)
6 years ago (2014-12-08 07:57:20 UTC) #14
elisabets
On 2014/12/08 07:57:20, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-09 14:08:03 UTC) #15
elisabets
I'm sorry about my sloppiness... Do I need another 'lgtm' or can I integrate it ...
6 years ago (2014-12-11 08:10:23 UTC) #16
jdduke (slow)
On 2014/12/11 08:10:23, elisabets wrote: > I'm sorry about my sloppiness... > Do I need ...
6 years ago (2014-12-11 23:50:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/40001
6 years ago (2014-12-12 07:45:18 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/25583)
6 years ago (2014-12-12 07:50:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/60001
6 years ago (2014-12-12 08:26:42 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/25599)
6 years ago (2014-12-12 08:30:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/60001
6 years ago (2014-12-12 08:32:42 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/42148)
6 years ago (2014-12-12 08:38:26 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/60001
6 years ago (2014-12-12 08:48:49 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/25610) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/42344)
6 years ago (2014-12-12 08:54:53 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/80001
6 years ago (2014-12-12 08:56:10 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/100001
6 years ago (2014-12-12 09:00:52 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/14098)
6 years ago (2014-12-12 09:51:58 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/120001
6 years ago (2014-12-15 09:29:58 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/18261)
6 years ago (2014-12-15 11:07:19 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/769273002/120001
6 years ago (2014-12-15 11:56:21 UTC) #45
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-15 12:50:14 UTC) #46
commit-bot: I haz the power
6 years ago (2014-12-15 12:51:04 UTC) #47
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/01d84d33126f4162c9bd0c7c7f9a2e5970ea2e73
Cr-Commit-Position: refs/heads/master@{#308340}

Powered by Google App Engine
This is Rietveld 408576698