| Index: ui/events/win/events_win.cc
|
| diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc
|
| index 06d5291fcf3c6d85d71bcf623630fcf7c3c13416..61ed30b9a57e5cd9a2d0a6089f72664d029c84a3 100644
|
| --- a/ui/events/win/events_win.cc
|
| +++ b/ui/events/win/events_win.cc
|
| @@ -396,6 +396,14 @@ bool IsMouseEventFromTouch(UINT message) {
|
| MOUSEEVENTF_FROMTOUCH;
|
| }
|
|
|
| +bool IsWindowsCursorHidden() {
|
| + CURSORINFO c = {sizeof(CURSORINFO)};
|
| + if (GetCursorInfo(&c))
|
| + return !(c.flags & CURSOR_SHOWING);
|
| + NOTREACHED();
|
| + return false;
|
| +}
|
| +
|
| // Conversion scan_code and LParam each other.
|
| // uint16_t scan_code:
|
| // ui/events/keycodes/dom/keycode_converter_data.inc
|
|
|