| Index: ui/views/win/hwnd_message_handler.h
|
| diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h
|
| index bfa1710358d6c84fa2b065a702d3ce0b0c3a4185..24cd8fda66d53212e1cfbabe45a1a21ee0c17c0b 100644
|
| --- a/ui/views/win/hwnd_message_handler.h
|
| +++ b/ui/views/win/hwnd_message_handler.h
|
| @@ -585,12 +585,12 @@ class VIEWS_EXPORT HWNDMessageHandler :
|
| // class. Allows callers to retrieve the interface pointer.
|
| scoped_ptr<ui::ViewProp> prop_window_target_;
|
|
|
| - // Set to true if we are in the context of a touch down event. This is reset
|
| - // to false in a delayed task. Defaults to false.
|
| + // Number of active touch down contexts. This is incremented on touch down
|
| + // events and decremented later using a delayed task.
|
| // We need this to ignore WM_MOUSEACTIVATE messages generated in response to
|
| // touch input. This is fine because activation still works correctly via
|
| // native SetFocus calls invoked in the views code.
|
| - bool touch_down_context_;
|
| + int touch_down_contexts_;
|
|
|
| // Time the last touch message was received. Used to flag mouse messages
|
| // synthesized by Windows for touch which are not flagged by the OS as
|
|
|