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

Issue 23620023: Add ability to create solid color scrollbars in ScrollingCoordinator. (Closed)

Created:
7 years, 3 months ago by wjmaclean
Modified:
7 years, 3 months ago
CC:
blink-reviews, blink-layers+watch_chromium.org, kenneth.christiansen, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Add ability to create solid color scrollbars in ScrollingCoordinator. This CL adds the ability to create solid color scrollbars within ScrollingCoordinator, based on the current value of the settings useOverlayScrollbars and useSolidColorScrollbars. This functionality is made available in the class interface to facilitate access from WebViewImpl in subsequent pinch-zoom CLs. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157254

Patch Set 1 #

Total comments: 4

Patch Set 2 : Check useSolidColorScrollbar() and ASSERT on usesOverlayScrollbars(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 3 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
wjmaclean
Let me know if this approach looks as the next step in the scrollbar refactor ...
7 years, 3 months ago (2013-09-03 22:57:10 UTC) #1
jamesr
https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode284 Source/core/page/scrolling/ScrollingCoordinator.cpp:284: bool shouldCreateSolidColorScrollbar = settings->useSolidColorScrollbars() && settings->usesOverlayScrollbars(); why are you ...
7 years, 3 months ago (2013-09-03 23:06:19 UTC) #2
enne (OOO)
https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode284 Source/core/page/scrolling/ScrollingCoordinator.cpp:284: bool shouldCreateSolidColorScrollbar = settings->useSolidColorScrollbars() && settings->usesOverlayScrollbars(); On 2013/09/03 23:06:19, ...
7 years, 3 months ago (2013-09-03 23:47:33 UTC) #3
wjmaclean
https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/23620023/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode284 Source/core/page/scrolling/ScrollingCoordinator.cpp:284: bool shouldCreateSolidColorScrollbar = settings->useSolidColorScrollbars() && settings->usesOverlayScrollbars(); On 2013/09/03 23:47:33, ...
7 years, 3 months ago (2013-09-04 13:27:59 UTC) #4
enne (OOO)
Please give jamesr a chance to chime in if he still objects, but if Android ...
7 years, 3 months ago (2013-09-04 17:51:40 UTC) #5
jamesr
Sorry, either way lgtm. I think I have a slight preference for enforcing that the ...
7 years, 3 months ago (2013-09-04 20:41:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/23620023/12001
7 years, 3 months ago (2013-09-04 20:50:12 UTC) #7
wjmaclean
On 2013/09/04 20:41:16, jamesr wrote: > Sorry, either way lgtm. I think I have a ...
7 years, 3 months ago (2013-09-04 20:50:27 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 01:19:43 UTC) #9
Message was sent while issue was closed.
Change committed as 157254

Powered by Google App Engine
This is Rietveld 408576698