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

Issue 2698543002: Resizes corner rect to match device scale factor (Closed)

Created:
3 years, 10 months ago by malaykeshav
Modified:
3 years, 10 months ago
Reviewers:
oshima, Xianzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resizes corner rect to match device scale factor Corner rect resizer for scrollable area now considers device scale factor when computing its bounds. BUG=692238 COMPONENT=ScrollableAreaPainter, Corner Resizer CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2698543002 Cr-Commit-Position: refs/heads/master@{#451844} Committed: https://chromium.googlesource.com/chromium/src/+/c7657d65b7ca9a5623883676a8b641cf509847d9

Patch Set 1 #

Patch Set 2 : Resizes corner rect to match device scale factor #

Patch Set 3 : Resizes corner rect to match device scale factor #

Patch Set 4 : Resizes corner rect to match device scale factor #

Total comments: 1

Patch Set 5 : Resizes corner rect to match device scale factor #

Patch Set 6 : Sync with ToT #

Total comments: 1

Patch Set 7 : Resizes corner rect to match device scale factor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp View 1 2 3 4 5 6 3 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 63 (45 generated)
malaykeshav
PTAL
3 years, 10 months ago (2017-02-14 23:43:04 UTC) #5
malaykeshav
All test cases pass. PTAL
3 years, 10 months ago (2017-02-15 09:05:58 UTC) #23
oshima
https://codereview.chromium.org/2698543002/diff/120001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp File third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp (right): https://codereview.chromium.org/2698543002/diff/120001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp#newcode88 third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp:88: 1.f / blink::deviceScaleFactor(getScrollableArea().box().frame())); blink::deviceScaleFactor may return 2> on Android. ...
3 years, 10 months ago (2017-02-15 22:22:16 UTC) #24
malaykeshav
PTAL
3 years, 10 months ago (2017-02-17 00:35:10 UTC) #31
malaykeshav
On 2017/02/15 at 22:22:16, oshima wrote: > https://codereview.chromium.org/2698543002/diff/120001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp > File third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp (right): > > https://codereview.chromium.org/2698543002/diff/120001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp#newcode88 ...
3 years, 10 months ago (2017-02-17 00:35:17 UTC) #32
oshima
lgtm with a nit https://codereview.chromium.org/2698543002/diff/160001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp File third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp (right): https://codereview.chromium.org/2698543002/diff/160001/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp:87: if (blink::deviceScaleFactor(getScrollableArea().box().frame()) >= 2) nit: ...
3 years, 10 months ago (2017-02-17 16:59:59 UTC) #35
malaykeshav
+wangxianzhu@ PTAL
3 years, 10 months ago (2017-02-17 18:39:10 UTC) #39
Xianzhu
On 2017/02/17 18:39:10, malaykeshav wrote: > +wangxianzhu@ > PTAL rs lgtm.
3 years, 10 months ago (2017-02-17 18:42:17 UTC) #40
Xianzhu
I think I need to learn basics about device scale factor handling in blink. Can ...
3 years, 10 months ago (2017-02-17 18:45:22 UTC) #42
malaykeshav
On 2017/02/17 at 18:45:22, wangxianzhu wrote: > I think I need to learn basics about ...
3 years, 10 months ago (2017-02-17 19:11:09 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698543002/180001
3 years, 10 months ago (2017-02-17 20:49:56 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-17 22:52:09 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698543002/180001
3 years, 10 months ago (2017-02-21 06:54:55 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/386326)
3 years, 10 months ago (2017-02-21 08:29:28 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698543002/180001
3 years, 10 months ago (2017-02-21 19:48:30 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-21 21:53:07 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698543002/180001
3 years, 10 months ago (2017-02-21 21:56:49 UTC) #60
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 22:06:51 UTC) #63
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/c7657d65b7ca9a5623883676a8b6...

Powered by Google App Engine
This is Rietveld 408576698