summaryrefslogtreecommitdiffstats
path: root/ash/display/mirror_window_controller.cc
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-26 12:40:22 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-26 12:40:22 +0000
commit2a08226f8247ffd016fe81fc6f53a6936542e4df (patch)
tree4da3c688e613c65127d9c25b98a661fdf8558d1a /ash/display/mirror_window_controller.cc
parentaaf82bd404f8112e488e33971532d235fe96c3a1 (diff)
downloadchromium_src-2a08226f8247ffd016fe81fc6f53a6936542e4df.zip
chromium_src-2a08226f8247ffd016fe81fc6f53a6936542e4df.tar.gz
chromium_src-2a08226f8247ffd016fe81fc6f53a6936542e4df.tar.bz2
Add a function to change the mouse cursor icon set to aura/ash.
This patch implements a function to change the asset set of mouse cursor icons, and adds the method of changing the cursor set into CursorManager. This feature will be used with Large Cursor feature. Currently, it just enlarges the normal cursor assets. This patch makes it use the large-size cursor assets instead. The large assets will be added in an another patch after this patch is committed. BUG=247254 TEST=manuallly. Tests pass. Review URL: https://chromiumcodereview.appspot.com/22319004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219528 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display/mirror_window_controller.cc')
-rw-r--r--ash/display/mirror_window_controller.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 6ed6ff4..34cc57c 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -262,6 +262,7 @@ void MirrorWindowController::SetMirroredCursor(gfx::NativeCursor cursor) {
current_cursor_rotation_ = display.rotation();
int resource_id;
bool success = ui::GetCursorDataFor(
+ ui::CURSOR_SET_NORMAL, // Not support custom cursor set.
current_cursor_type_,
display.device_scale_factor(),
&resource_id,