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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | base/win/win_util.cc » ('J')
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 // ============================================================================= 5 // =============================================================================
6 // PLEASE READ 6 // PLEASE READ
7 // 7 //
8 // In general, you should not be adding stuff to this file. 8 // In general, you should not be adding stuff to this file.
9 // 9 //
10 // - If your thing is only used in one place, just put it in a reasonable 10 // - If your thing is only used in one place, just put it in a reasonable
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // and provide a fallback path if necessary. 167 // and provide a fallback path if necessary.
168 BASE_EXPORT bool IsUser32AndGdi32Available(); 168 BASE_EXPORT bool IsUser32AndGdi32Available();
169 169
170 // Takes a snapshot of the modules loaded in the |process|. The returned 170 // Takes a snapshot of the modules loaded in the |process|. The returned
171 // HMODULEs are not add-ref'd, so they should not be closed and may be 171 // HMODULEs are not add-ref'd, so they should not be closed and may be
172 // invalidated at any time (should a module be unloaded). |process| requires 172 // invalidated at any time (should a module be unloaded). |process| requires
173 // the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ permissions. 173 // the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ permissions.
174 BASE_EXPORT bool GetLoadedModulesSnapshot(HANDLE process, 174 BASE_EXPORT bool GetLoadedModulesSnapshot(HANDLE process,
175 std::vector<HMODULE>* snapshot); 175 std::vector<HMODULE>* snapshot);
176 176
177 // Adds or removes the MICROSOFT_TABLETPENSERVICE_PROPERTY property with the
178 // TABLET_DISABLE_FLICKS & TABLET_DISABLE_FLICKFALLBACKKEYS flags in order to
179 // disable pen flick gestures for the given HWND. If allow == true, then the
180 // property is removed from the HWND else the property is added.
181 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
182
177 } // namespace win 183 } // namespace win
178 } // namespace base 184 } // namespace base
179 185
180 #endif // BASE_WIN_WIN_UTIL_H_ 186 #endif // BASE_WIN_WIN_UTIL_H_
OLDNEW
« 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