| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 // the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ permissions. | 169 // the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ permissions. |
| 170 BASE_EXPORT bool GetLoadedModulesSnapshot(HANDLE process, | 170 BASE_EXPORT bool GetLoadedModulesSnapshot(HANDLE process, |
| 171 std::vector<HMODULE>* snapshot); | 171 std::vector<HMODULE>* snapshot); |
| 172 | 172 |
| 173 // Adds or removes the MICROSOFT_TABLETPENSERVICE_PROPERTY property with the | 173 // Adds or removes the MICROSOFT_TABLETPENSERVICE_PROPERTY property with the |
| 174 // TABLET_DISABLE_FLICKS & TABLET_DISABLE_FLICKFALLBACKKEYS flags in order to | 174 // TABLET_DISABLE_FLICKS & TABLET_DISABLE_FLICKFALLBACKKEYS flags in order to |
| 175 // disable pen flick gestures for the given HWND. | 175 // disable pen flick gestures for the given HWND. |
| 176 BASE_EXPORT void EnableFlicks(HWND hwnd); | 176 BASE_EXPORT void EnableFlicks(HWND hwnd); |
| 177 BASE_EXPORT void DisableFlicks(HWND hwnd); | 177 BASE_EXPORT void DisableFlicks(HWND hwnd); |
| 178 | 178 |
| 179 // Returns true if the process is per monitor DPI aware. |
| 180 BASE_EXPORT bool IsProcessPerMonitorDpiAware(); |
| 181 |
| 179 } // namespace win | 182 } // namespace win |
| 180 } // namespace base | 183 } // namespace base |
| 181 | 184 |
| 182 #endif // BASE_WIN_WIN_UTIL_H_ | 185 #endif // BASE_WIN_WIN_UTIL_H_ |
| OLD | NEW |