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 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlmisc.h> | 10 #include <atlmisc.h> |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 MESSAGE_HANDLER_EX(WM_KEYUP, OnKeyEvent) | 257 MESSAGE_HANDLER_EX(WM_KEYUP, OnKeyEvent) |
258 MESSAGE_HANDLER_EX(WM_SYSKEYDOWN, OnKeyEvent) | 258 MESSAGE_HANDLER_EX(WM_SYSKEYDOWN, OnKeyEvent) |
259 MESSAGE_HANDLER_EX(WM_SYSKEYUP, OnKeyEvent) | 259 MESSAGE_HANDLER_EX(WM_SYSKEYUP, OnKeyEvent) |
260 | 260 |
261 // IME Events. | 261 // IME Events. |
262 MESSAGE_HANDLER_EX(WM_IME_SETCONTEXT, OnImeMessages) | 262 MESSAGE_HANDLER_EX(WM_IME_SETCONTEXT, OnImeMessages) |
263 MESSAGE_HANDLER_EX(WM_IME_STARTCOMPOSITION, OnImeMessages) | 263 MESSAGE_HANDLER_EX(WM_IME_STARTCOMPOSITION, OnImeMessages) |
264 MESSAGE_HANDLER_EX(WM_IME_COMPOSITION, OnImeMessages) | 264 MESSAGE_HANDLER_EX(WM_IME_COMPOSITION, OnImeMessages) |
265 MESSAGE_HANDLER_EX(WM_IME_ENDCOMPOSITION, OnImeMessages) | 265 MESSAGE_HANDLER_EX(WM_IME_ENDCOMPOSITION, OnImeMessages) |
266 MESSAGE_HANDLER_EX(WM_IME_REQUEST, OnImeMessages) | 266 MESSAGE_HANDLER_EX(WM_IME_REQUEST, OnImeMessages) |
| 267 MESSAGE_HANDLER_EX(WM_IME_NOTIFY, OnImeMessages) |
267 MESSAGE_HANDLER_EX(WM_CHAR, OnImeMessages) | 268 MESSAGE_HANDLER_EX(WM_CHAR, OnImeMessages) |
268 MESSAGE_HANDLER_EX(WM_SYSCHAR, OnImeMessages) | 269 MESSAGE_HANDLER_EX(WM_SYSCHAR, OnImeMessages) |
269 MESSAGE_HANDLER_EX(WM_DEADCHAR, OnImeMessages) | 270 MESSAGE_HANDLER_EX(WM_DEADCHAR, OnImeMessages) |
270 MESSAGE_HANDLER_EX(WM_SYSDEADCHAR, OnImeMessages) | 271 MESSAGE_HANDLER_EX(WM_SYSDEADCHAR, OnImeMessages) |
271 | 272 |
272 // Touch Events. | 273 // Touch Events. |
273 MESSAGE_HANDLER_EX(WM_TOUCH, OnTouchEvent) | 274 MESSAGE_HANDLER_EX(WM_TOUCH, OnTouchEvent) |
274 | 275 |
275 // Uses the general handler macro since the specific handler macro | 276 // Uses the general handler macro since the specific handler macro |
276 // MSG_WM_NCACTIVATE would convert WPARAM type to BOOL type. The high | 277 // MSG_WM_NCACTIVATE would convert WPARAM type to BOOL type. The high |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 469 |
469 // A factory used to lookup appbar autohide edges. | 470 // A factory used to lookup appbar autohide edges. |
470 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; | 471 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; |
471 | 472 |
472 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 473 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
473 }; | 474 }; |
474 | 475 |
475 } // namespace views | 476 } // namespace views |
476 | 477 |
477 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 478 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |