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

Issue 10909255: Support high DPI scrollbar on top level web frame. (Closed)

Created:
8 years, 3 months ago by flackr
Modified:
8 years, 2 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, danakj
Visibility:
Public.

Description

Support high DPI scrollbar on top level web frame. BUG=141389 TEST=Run chrome with --force-device-scale-factor=2 --force-compositing-mode and verify that the top-level scrollbar is high dpi. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158362

Patch Set 1 #

Patch Set 2 : Only apply page scale factor to layers within and including root scroll layer. #

Total comments: 2

Patch Set 3 : Apply setBoundsContainPageScale recursively on LayerChromium. #

Total comments: 2

Patch Set 4 : Add comment describing that setBoundsContainPageScale applies recursively. #

Patch Set 5 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -11 lines) Patch
M cc/CCLayerImpl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/CCLayerImpl.cpp View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M cc/CCScrollbarLayerImpl.cpp View 1 2 3 4 4 chunks +7 lines, -6 lines 0 comments Download
M cc/LayerChromium.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M cc/LayerChromium.cpp View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M cc/ScrollbarLayerChromium.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/ScrollbarLayerChromium.cpp View 1 4 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
flackr
I changed layerRectToContentRect to accept a WebRect as we don't support the implicit conversion from ...
8 years, 3 months ago (2012-09-15 02:43:31 UTC) #1
flackr
This fixes the layout test that was failing by only applying page scale to layers ...
8 years, 3 months ago (2012-09-17 19:25:55 UTC) #2
danakj
I think this is great as long as that logic is long-term correct. If we're ...
8 years, 3 months ago (2012-09-17 19:34:14 UTC) #3
flackr
https://codereview.chromium.org/10909255/diff/2001/cc/CCLayerTreeHost.cpp File cc/CCLayerTreeHost.cpp (right): https://codereview.chromium.org/10909255/diff/2001/cc/CCLayerTreeHost.cpp#newcode481 cc/CCLayerTreeHost.cpp:481: inScrollLayer = true; Alexandre, is the logic for finding ...
8 years, 3 months ago (2012-09-17 19:37:51 UTC) #4
aelias_OOO_until_Jul13
You're setting the value to true in the root scroll layer and all its sublayers, ...
8 years, 3 months ago (2012-09-17 19:45:48 UTC) #5
flackr
On 2012/09/17 19:45:48, aelias wrote: > You're setting the value to true in the root ...
8 years, 3 months ago (2012-09-17 19:48:43 UTC) #6
danakj
inRootScrollLayerSubtree? On Mon, Sep 17, 2012 at 3:48 PM, <flackr@chromium.org> wrote: > On 2012/09/17 19:45:48, ...
8 years, 3 months ago (2012-09-17 19:50:15 UTC) #7
enne (OOO)
https://codereview.chromium.org/10909255/diff/2001/cc/CCLayerTreeHost.cpp File cc/CCLayerTreeHost.cpp (right): https://codereview.chromium.org/10909255/diff/2001/cc/CCLayerTreeHost.cpp#newcode481 cc/CCLayerTreeHost.cpp:481: inScrollLayer = true; I think I'd prefer to keep ...
8 years, 3 months ago (2012-09-17 20:37:00 UTC) #8
flackr
Okay, this combined with the webkit patch https://bugs.webkit.org/show_bug.cgi?id=95134 calls setBoundsContainPageScale on the correct layers. The ...
8 years, 3 months ago (2012-09-18 20:20:51 UTC) #9
enne (OOO)
LGTM http://codereview.chromium.org/10909255/diff/10001/cc/LayerChromium.cpp File cc/LayerChromium.cpp (right): http://codereview.chromium.org/10909255/diff/10001/cc/LayerChromium.cpp#newcode609 cc/LayerChromium.cpp:609: for (size_t i = 0; i < m_children.size(); ...
8 years, 3 months ago (2012-09-19 17:08:25 UTC) #10
flackr
All of the test failures on the layout try jobs seem to be occurring in ...
8 years, 2 months ago (2012-09-24 17:19:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10909255/20001
8 years, 2 months ago (2012-09-24 17:19:36 UTC) #12
commit-bot: I haz the power
8 years, 2 months ago (2012-09-24 20:02:53 UTC) #13
Change committed as 158362

Powered by Google App Engine
This is Rietveld 408576698