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

Unified Diff: base/win/win_util.h

Issue 10802085: Correct behaviour of touch wrt mouse capture. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Factored out common code. Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | content/browser/renderer_host/render_widget_host_view_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/win_util.h
diff --git a/base/win/win_util.h b/base/win/win_util.h
index 09c66cd0f7174a14abbfdc7278d56403ff6fe58f..da0e52b8691bb44515365fa9e1f1d567ad803118 100644
--- a/base/win/win_util.h
+++ b/base/win/win_util.h
@@ -58,6 +58,9 @@ BASE_EXPORT bool IsCtrlPressed();
// Returns true if the alt key is currently pressed.
BASE_EXPORT bool IsAltPressed();
+// Windows emulates mouse messages for touch events.
sky 2012/07/24 21:36:25 Returns true if |message| identifies a mouse event
girard 2012/07/24 23:54:54 Done.
+BASE_EXPORT bool IsMouseEventFromTouch(UINT message);
+
// Returns false if user account control (UAC) has been disabled with the
// EnableLUA registry flag. Returns true if user account control is enabled.
// NOTE: The EnableLUA registry flag, which is ignored on Windows XP
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | content/browser/renderer_host/render_widget_host_view_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698