| OLD | NEW |
| 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 Loading... |
| 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. |
| 180 BASE_EXPORT void EnableFlicks(HWND hwnd); |
| 181 BASE_EXPORT void DisableFlicks(HWND hwnd); |
| 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_ |
| OLD | NEW |