OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef TOOLS_MEMORY_WATCHER_HOTKEY_H_ | 5 #ifndef TOOLS_MEMORY_WATCHER_HOTKEY_H_ |
6 #define TOOLS_MEMORY_WATCHER_HOTKEY_H_ | 6 #define TOOLS_MEMORY_WATCHER_HOTKEY_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlwin.h> | 9 #include <atlwin.h> |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 // Handle the registered Hotkey being pressed. | 41 // Handle the registered Hotkey being pressed. |
42 virtual LRESULT OnHotKey(UINT /*uMsg*/, WPARAM /*wParam*/, | 42 virtual LRESULT OnHotKey(UINT /*uMsg*/, WPARAM /*wParam*/, |
43 LPARAM /*lParam*/, BOOL& bHandled) = 0; | 43 LPARAM /*lParam*/, BOOL& bHandled) = 0; |
44 | 44 |
45 UINT m_modifiers; | 45 UINT m_modifiers; |
46 UINT m_vkey; | 46 UINT m_vkey; |
47 }; | 47 }; |
48 | 48 |
49 #endif // TOOLS_MEMORY_WATCHER_HOTKEY_H_ | 49 #endif // TOOLS_MEMORY_WATCHER_HOTKEY_H_ |
50 | |
OLD | NEW |