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

Issue 655783004: Hide scrollbars when their dimensions are not scrollable. (Closed)

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

Description

Hide scrollbars when their dimensions are not scrollable. Make scrollbars disappear by setting their opacity to 0 (i.e. making them completely transparent) when they cannot be scrolled. This CL has been reviewed on https://codereview.chromium.org/640063002/ BUG=370892 Committed: https://crrev.com/3ca6969326eaae1916766aa3ac62515ec83e5f01 Cr-Commit-Position: refs/heads/master@{#299628}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Renamed can_scroll_orientation() -> CanScrollOrientation() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -6 lines) Patch
M cc/animation/scrollbar_animation_controller_linear_fade.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc View 6 chunks +137 lines, -2 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning_unittest.cc View 3 chunks +35 lines, -1 line 0 comments Download
M cc/layers/layer_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/layers/scrollbar_layer_impl_base.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/scrollbar_layer_impl_base.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
timav
The issue is now associated with chromium instead of blink. Please review.
6 years, 2 months ago (2014-10-15 00:06:46 UTC) #3
aelias_OOO_until_Jul13
lgtm again
6 years, 2 months ago (2014-10-15 00:11:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655783004/1
6 years, 2 months ago (2014-10-15 00:18:35 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-15 02:19:16 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/3ca6969326eaae1916766aa3ac62515ec83e5f01 Cr-Commit-Position: refs/heads/master@{#299628}
6 years, 2 months ago (2014-10-15 02:20:53 UTC) #8
danakj
https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc File cc/layers/scrollbar_layer_impl_base.cc (right): https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc#newcode125 cc/layers/scrollbar_layer_impl_base.cc:125: bool ScrollbarLayerImplBase::can_scroll_orientation() const { hacker_style functions should be for ...
6 years, 2 months ago (2014-10-15 15:39:52 UTC) #10
timav
https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc File cc/layers/scrollbar_layer_impl_base.cc (right): https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc#newcode125 cc/layers/scrollbar_layer_impl_base.cc:125: bool ScrollbarLayerImplBase::can_scroll_orientation() const { On 2014/10/15 15:39:52, danakj wrote: ...
6 years, 2 months ago (2014-10-15 18:12:05 UTC) #11
danakj
https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc File cc/layers/scrollbar_layer_impl_base.cc (right): https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc#newcode125 cc/layers/scrollbar_layer_impl_base.cc:125: bool ScrollbarLayerImplBase::can_scroll_orientation() const { On 2014/10/15 18:12:05, timav wrote: ...
6 years, 2 months ago (2014-10-15 18:13:26 UTC) #12
timav
On 2014/10/15 18:13:26, danakj wrote: > https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc > File cc/layers/scrollbar_layer_impl_base.cc (right): > > https://codereview.chromium.org/655783004/diff/1/cc/layers/scrollbar_layer_impl_base.cc#newcode125 > ...
6 years, 2 months ago (2014-10-15 19:05:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655783004/20001
6 years, 2 months ago (2014-10-15 19:07:02 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/79436) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/69020) android_aosp ...
6 years, 2 months ago (2014-10-15 19:11:00 UTC) #17
aelias_OOO_until_Jul13
This already landed and the CQ has no concept of applying a diff like this, ...
6 years, 2 months ago (2014-10-15 19:18:12 UTC) #18
chromium-reviews
6 years, 2 months ago (2014-10-15 19:45:30 UTC) #19
Yes, I realized that reading why the patch did not apply.

On Wed, Oct 15, 2014 at 12:18 PM, <aelias@chromium.org> wrote:

> This already landed and the CQ has no concept of applying a diff like
> this, so
> you can't recommit.  You'd have to make a separate change applying only the
> style change.
>
> https://codereview.chromium.org/655783004/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698