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

Issue 280133002: Do not scale cursor image for 2x image (Closed)

Created:
6 years, 7 months ago by oshima
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Do not scale cursor image for 2x image It's regressed in https://codereview.chromium.org/226293005. BUG=368365 TEST=CursorLoaderX11Test.Scale, also tested manually TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270028

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : added test #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -11 lines) Patch
M ash/wm/ash_native_cursor_manager_unittest.cc View 1 2 3 4 2 chunks +28 lines, -0 lines 0 comments Download
M ui/aura/test/aura_test_helper.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/base/cursor/cursor_loader_x11.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/cursor/cursor_loader_x11.cc View 1 2 3 4 3 chunks +8 lines, -1 line 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 5 2 chunks +10 lines, -4 lines 3 comments Download
M ui/base/x/x11_util.cc View 1 2 4 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
oshima
6 years, 7 months ago (2014-05-11 17:18:08 UTC) #1
tdanderson
https://codereview.chromium.org/280133002/diff/2/ui/base/cursor/cursor_loader_x11.cc File ui/base/cursor/cursor_loader_x11.cc (right): https://codereview.chromium.org/280133002/diff/2/ui/base/cursor/cursor_loader_x11.cc#newcode168 ui/base/cursor/cursor_loader_x11.cc:168: scale() / image_rep.scale(), rotation(), &bitmap, &hotpoint); What caused this ...
6 years, 7 months ago (2014-05-12 13:53:08 UTC) #2
oshima
On 2014/05/12 13:53:08, tdanderson wrote: > https://codereview.chromium.org/280133002/diff/2/ui/base/cursor/cursor_loader_x11.cc > File ui/base/cursor/cursor_loader_x11.cc (right): > > https://codereview.chromium.org/280133002/diff/2/ui/base/cursor/cursor_loader_x11.cc#newcode168 > ...
6 years, 7 months ago (2014-05-12 16:48:02 UTC) #3
tdanderson
Thanks, lgtm with one small typo mentioned below: https://codereview.chromium.org/280133002/diff/50001/ui/base/cursor/cursor_loader_x11.cc File ui/base/cursor/cursor_loader_x11.cc (right): https://codereview.chromium.org/280133002/diff/50001/ui/base/cursor/cursor_loader_x11.cc#newcode179 ui/base/cursor/cursor_loader_x11.cc:179: // ...
6 years, 7 months ago (2014-05-12 17:30:24 UTC) #4
oshima
I had to move the test to ash due to the lack of 2x assets ...
6 years, 7 months ago (2014-05-12 20:42:08 UTC) #5
oshima
derat -> x related change in ui/base
6 years, 7 months ago (2014-05-12 21:00:11 UTC) #6
Daniel Erat
lgtm for ui/base/x https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h File ui/base/x/x11_util.h (right): https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h#newcode339 ui/base/x/x11_util.h:339: // Resets the cache used by ...
6 years, 7 months ago (2014-05-12 21:19:48 UTC) #7
oshima
https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h File ui/base/x/x11_util.h (right): https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h#newcode339 ui/base/x/x11_util.h:339: // Resets the cache used by GetXCursor(). Only useful ...
6 years, 7 months ago (2014-05-12 22:23:41 UTC) #8
Daniel Erat
https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h File ui/base/x/x11_util.h (right): https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h#newcode339 ui/base/x/x11_util.h:339: // Resets the cache used by GetXCursor(). Only useful ...
6 years, 7 months ago (2014-05-12 23:02:22 UTC) #9
oshima
On 2014/05/12 23:02:22, Daniel Erat wrote: > https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h > File ui/base/x/x11_util.h (right): > > https://codereview.chromium.org/280133002/diff/130001/ui/base/x/x11_util.h#newcode339 ...
6 years, 7 months ago (2014-05-13 00:57:04 UTC) #10
Daniel Erat
either way is fine with me; still lgtm
6 years, 7 months ago (2014-05-13 00:57:28 UTC) #11
oshima_google
On 2014/05/13 00:57:28, Daniel Erat wrote: > either way is fine with me; still lgtm ...
6 years, 7 months ago (2014-05-13 00:58:52 UTC) #12
oshima_google
tbr'ing sky for trivial change in ui/aura/test/aura_test_helper.cc
6 years, 7 months ago (2014-05-13 00:59:23 UTC) #13
oshima_google
The CQ bit was checked by oshima@google.com
6 years, 7 months ago (2014-05-13 00:59:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/280133002/130001
6 years, 7 months ago (2014-05-13 01:01:39 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 05:25:27 UTC) #16
Message was sent while issue was closed.
Change committed as 270028

Powered by Google App Engine
This is Rietveld 408576698