Chromium Code Reviews| Index: ui/base/cursor/cursor_loader_x11.cc |
| diff --git a/ui/base/cursor/cursor_loader_x11.cc b/ui/base/cursor/cursor_loader_x11.cc |
| index 293bba65986e0cf1fa83ac10117d03b48b47aec7..ab77e61a8304c8f455bf72f5d305d632d384d55e 100644 |
| --- a/ui/base/cursor/cursor_loader_x11.cc |
| +++ b/ui/base/cursor/cursor_loader_x11.cc |
| @@ -87,7 +87,11 @@ const char* CursorCssNameFromId(int id) { |
| case ui::kCursorPointer: |
| return "left_ptr"; |
| case ui::kCursorMove: |
| - return "move"; |
| + // Returning "move" is the correct thing here, but Blink doesn't |
| + // make a distinction between move and all-scroll. Other |
| + // platforms use a cursor more consistent with all-scroll, so |
| + // use that for now. |
|
sadrul
2016/12/08 01:19:02
Is there an 'until ...'?
|
| + return "all-scroll"; |
| case ui::kCursorCross: |
| return "crosshair"; |
| case ui::kCursorHand: |
| @@ -172,6 +176,7 @@ static const struct { |
| { "progress", "left_ptr_watch", XC_watch }, |
| { "wait", nullptr, XC_watch }, |
| { "cell", nullptr, XC_plus }, |
| + { "all-scroll", nullptr, XC_fleur}, |
| { "crosshair", nullptr, XC_cross }, |
| { "text", nullptr, XC_xterm }, |
| { "not-allowed", "crossed_circle", None }, |