forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable custom cursor for software-composited cursor
Changes: 1.Make ui::Cursor support |custom_bitmap| and |custom_cursor| which are set by exo pointer or web cursor. 2.Add GetBitmap() and GetHotspot() in ui::Cursor and merge the usage of ui::GetCursorBitmap(). 3.Avoid overwriting custom type to default pointer when cursor compositing is enabled. 4.Also, remove the usage of CursorWindowController to match settings of the primary display when cursor compositing is disabled, because it was only used in mirror mode which now enables cursor compositing. BUG=708378 Change-Id: I5dc3ef15adf00424fe62fc24cb005dfb5bed3f5b Reviewed-on: https://chromium-review.googlesource.com/910229 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Reviewed-by: David Reveman <reveman@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Reviewed-by: Michael Spang <spang@chromium.org> Commit-Queue: Weidong Guo <weidongg@chromium.org> Cr-Commit-Position: refs/heads/master@{#550846}
- Loading branch information
Weidong Guo
authored and
Commit Bot
committed
Apr 14, 2018
1 parent
3bce864
commit a8f5645
Showing
17 changed files
with
166 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.