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

Issue 2504743002: Linux Aura: Fixes and improvements for cursor loader (Closed)

Created:
4 years, 1 month ago by Tom (Use chromium acct)
Modified:
4 years, 1 month ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, dcheng, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux Aura: Fixes and improvements for cursor loader This CL: * Adds 4 new cursor types for DND (On Linux, 'dnd-move' != 'move', 'dnd-link' != 'alias', 'dnd-copy' != 'copy', 'dnd-none' != 'move') * Tries to lookup the cursor in the native cursor theme before trying a chromium-supplied fallback cursor * Removes desktop_cursor_loader_updater * Removes XCursorCache See videos in https://bugs.chromium.org/p/chromium/issues/detail?id=665574 https://bugs.chromium.org/p/chromium/issues/detail?id=665574#c1 BUG=665574 Committed: https://crrev.com/16c9f899aa654b5cb868242f2a19ab375b8397f9 Cr-Commit-Position: refs/heads/master@{#433150}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -385 lines) Patch
M ui/aura/test/aura_test_helper.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/base/cursor/cursor.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/cursor/cursor_loader_x11.h View 2 chunks +24 lines, -7 lines 0 comments Download
M ui/base/cursor/cursor_loader_x11.cc View 1 7 chunks +176 lines, -74 lines 0 comments Download
M ui/base/x/x11_util.h View 2 chunks +0 lines, -7 lines 0 comments Download
M ui/base/x/x11_util.cc View 4 chunks +1 line, -49 lines 0 comments Download
M ui/views/BUILD.gn View 1 4 chunks +2 lines, -11 lines 0 comments Download
D ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h View 1 chunk +0 lines, -27 lines 0 comments Download
D ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc View 1 chunk +0 lines, -77 lines 0 comments Download
D ui/views/widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc View 1 chunk +0 lines, -15 lines 0 comments Download
D ui/views/widget/desktop_aura/desktop_cursor_loader_updater_chromeos.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 1 chunk +8 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_cursor_manager.h View 4 chunks +1 line, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc View 2 chunks +2 lines, -11 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 39 (29 generated)
Tom (Use chromium acct)
sadrul@ PTAL
4 years, 1 month ago (2016-11-16 01:11:04 UTC) #18
Tom (Use chromium acct)
pinging sadrul@
4 years, 1 month ago (2016-11-17 00:32:55 UTC) #28
sadrul
https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.cc File ui/base/cursor/cursor_loader_x11.cc (right): https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.cc#newcode307 ui/base/cursor/cursor_loader_x11.cc:307: ::Cursor cursor = XcursorLibraryLoadCursor(display_, css_name); When you say 'directly', ...
4 years, 1 month ago (2016-11-17 16:17:03 UTC) #29
Tom (Use chromium acct)
https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.cc File ui/base/cursor/cursor_loader_x11.cc (right): https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.cc#newcode307 ui/base/cursor/cursor_loader_x11.cc:307: ::Cursor cursor = XcursorLibraryLoadCursor(display_, css_name); On 2016/11/17 16:17:03, sadrul ...
4 years, 1 month ago (2016-11-17 19:17:49 UTC) #30
sadrul
https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.h File ui/base/cursor/cursor_loader_x11.h (right): https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.h#newcode45 ui/base/cursor/cursor_loader_x11.h:45: display::Display::Rotation rotation; On 2016/11/17 19:17:48, Tom Anderson wrote: > ...
4 years, 1 month ago (2016-11-18 01:27:30 UTC) #31
Tom (Use chromium acct)
On 2016/11/18 01:27:30, sadrul wrote: > https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.h > File ui/base/cursor/cursor_loader_x11.h (right): > > https://codereview.chromium.org/2504743002/diff/60001/ui/base/cursor/cursor_loader_x11.h#newcode45 > ...
4 years, 1 month ago (2016-11-18 05:48:42 UTC) #32
sadrul
Ah, I see. Thanks for the explanation. lgtm
4 years, 1 month ago (2016-11-18 06:06:45 UTC) #33
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/2504743002/80001
4 years, 1 month ago (2016-11-18 06:15:29 UTC) #35
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 1 month ago (2016-11-18 08:34:07 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 08:36:51 UTC) #39
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/16c9f899aa654b5cb868242f2a19ab375b8397f9
Cr-Commit-Position: refs/heads/master@{#433150}

Powered by Google App Engine
This is Rietveld 408576698