Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ui/views/win/hwnd_message_handler.h

Issue 236183004: Get horizontal wheel scrolling working again with logitech drivers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 // touch input. This is fine because activation still works correctly via 593 // touch input. This is fine because activation still works correctly via
594 // native SetFocus calls invoked in the views code. 594 // native SetFocus calls invoked in the views code.
595 bool touch_down_context_; 595 bool touch_down_context_;
596 596
597 // Time the last touch message was received. Used to flag mouse messages 597 // Time the last touch message was received. Used to flag mouse messages
598 // synthesized by Windows for touch which are not flagged by the OS as 598 // synthesized by Windows for touch which are not flagged by the OS as
599 // synthesized mouse messages. For more information please refer to 599 // synthesized mouse messages. For more information please refer to
600 // the IsMouseEventFromTouch function. 600 // the IsMouseEventFromTouch function.
601 static long last_touch_message_time_; 601 static long last_touch_message_time_;
602 602
603 // Time the last WM_MOUSEHWHEEL message is received. Please refer to the
604 // HandleMouseEventInternal function as to why this is needed.
605 long last_mouse_hwheel_time_;
606
603 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 607 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
604 }; 608 };
605 609
606 } // namespace views 610 } // namespace views
607 611
608 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 612 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698