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

Unified Diff: base/win/win_util.h

Issue 1852503002: Need to set the MICROSOFT_TABLETPENSERVICE_PROPERTY window property even for child windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: De-nit'ed per previous comment Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | base/win/win_util.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 b261ce7b5eae91dd12f826e124b552be92a18b44..39d302eb53f42dd4f4785886b44e37f21a7fc91e 100644
--- a/base/win/win_util.h
+++ b/base/win/win_util.h
@@ -174,6 +174,12 @@ BASE_EXPORT bool IsUser32AndGdi32Available();
BASE_EXPORT bool GetLoadedModulesSnapshot(HANDLE process,
std::vector<HMODULE>* snapshot);
+// Adds or removes the MICROSOFT_TABLETPENSERVICE_PROPERTY property with the
+// TABLET_DISABLE_FLICKS & TABLET_DISABLE_FLICKFALLBACKKEYS flags in order to
+// disable pen flick gestures for the given HWND. If allow == true, then the
+// property is removed from the HWND else the property is added.
+BASE_EXPORT void AllowFlicks(HWND hwnd, bool allow);
sky 2016/04/07 17:57:54 AllowFlicks with a boolean parameter named allow i
kylix_rd 2016/04/07 18:46:25 Done.
kylix_rd 2016/04/07 18:46:25 I'd rather this have been a method on a common bas
+
} // namespace win
} // namespace base
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | base/win/win_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698