| Index: ui/views/corewm/compound_event_filter.cc
|
| diff --git a/ui/views/corewm/compound_event_filter.cc b/ui/views/corewm/compound_event_filter.cc
|
| index efeca5cad2af9a23e421f88d986e7ab6cf73b84f..f5fa2a4856b31c664eb72ee623247c8937d383e9 100644
|
| --- a/ui/views/corewm/compound_event_filter.cc
|
| +++ b/ui/views/corewm/compound_event_filter.cc
|
| @@ -72,12 +72,12 @@ bool ShouldHideCursorOnKeyEvent(const ui::KeyEvent& event) {
|
|
|
| // Returns true if the cursor should be hidden on touch events.
|
| bool ShouldHideCursorOnTouch() {
|
| -#if defined(OS_CHROMEOS)
|
| +#if defined(OS_CHROMEOS) || defined(OS_WIN)
|
| return true;
|
| #else
|
| - // Not necessary on windows as windows does it for us. If we do need this
|
| - // funcionality on linux (non-chromeos) we need to make sure
|
| - // CompoundEventFilter shows on the right root (it currently doesn't always).
|
| + // Linux Aura does not hide the cursor on touch by default.
|
| + // TODO(tdanderson): Change this if having consistency across
|
| + // all platforms which use Aura is desired.
|
| return false;
|
| #endif
|
| }
|
|
|