| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 MESSAGE_HANDLER_EX(WM_KEYDOWN, OnKeyEvent) | 321 MESSAGE_HANDLER_EX(WM_KEYDOWN, OnKeyEvent) |
| 322 MESSAGE_HANDLER_EX(WM_KEYUP, OnKeyEvent) | 322 MESSAGE_HANDLER_EX(WM_KEYUP, OnKeyEvent) |
| 323 MESSAGE_HANDLER_EX(WM_SYSKEYDOWN, OnKeyEvent) | 323 MESSAGE_HANDLER_EX(WM_SYSKEYDOWN, OnKeyEvent) |
| 324 MESSAGE_HANDLER_EX(WM_SYSKEYUP, OnKeyEvent) | 324 MESSAGE_HANDLER_EX(WM_SYSKEYUP, OnKeyEvent) |
| 325 | 325 |
| 326 // IME Events. | 326 // IME Events. |
| 327 MESSAGE_HANDLER_EX(WM_IME_SETCONTEXT, OnImeMessages) | 327 MESSAGE_HANDLER_EX(WM_IME_SETCONTEXT, OnImeMessages) |
| 328 MESSAGE_HANDLER_EX(WM_IME_STARTCOMPOSITION, OnImeMessages) | 328 MESSAGE_HANDLER_EX(WM_IME_STARTCOMPOSITION, OnImeMessages) |
| 329 MESSAGE_HANDLER_EX(WM_IME_COMPOSITION, OnImeMessages) | 329 MESSAGE_HANDLER_EX(WM_IME_COMPOSITION, OnImeMessages) |
| 330 MESSAGE_HANDLER_EX(WM_IME_ENDCOMPOSITION, OnImeMessages) | 330 MESSAGE_HANDLER_EX(WM_IME_ENDCOMPOSITION, OnImeMessages) |
| 331 MESSAGE_HANDLER_EX(WM_IME_REQUEST, OnImeMessages) |
| 331 MESSAGE_HANDLER_EX(WM_CHAR, OnImeMessages) | 332 MESSAGE_HANDLER_EX(WM_CHAR, OnImeMessages) |
| 332 MESSAGE_HANDLER_EX(WM_SYSCHAR, OnImeMessages) | 333 MESSAGE_HANDLER_EX(WM_SYSCHAR, OnImeMessages) |
| 333 MESSAGE_HANDLER_EX(WM_DEADCHAR, OnImeMessages) | 334 MESSAGE_HANDLER_EX(WM_DEADCHAR, OnImeMessages) |
| 334 MESSAGE_HANDLER_EX(WM_SYSDEADCHAR, OnImeMessages) | 335 MESSAGE_HANDLER_EX(WM_SYSDEADCHAR, OnImeMessages) |
| 335 | 336 |
| 336 // This list is in _ALPHABETICAL_ order! OR I WILL HURT YOU. | 337 // This list is in _ALPHABETICAL_ order! OR I WILL HURT YOU. |
| 337 MSG_WM_ACTIVATE(OnActivate) | 338 MSG_WM_ACTIVATE(OnActivate) |
| 338 MSG_WM_ACTIVATEAPP(OnActivateApp) | 339 MSG_WM_ACTIVATEAPP(OnActivateApp) |
| 339 MSG_WM_APPCOMMAND(OnAppCommand) | 340 MSG_WM_APPCOMMAND(OnAppCommand) |
| 340 MSG_WM_CANCELMODE(OnCancelMode) | 341 MSG_WM_CANCELMODE(OnCancelMode) |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 // rather than asking the Widget for the non_client_view so that we know at | 667 // rather than asking the Widget for the non_client_view so that we know at |
| 667 // Init time, before the Widget has created the NonClientView. | 668 // Init time, before the Widget has created the NonClientView. |
| 668 bool has_non_client_view_; | 669 bool has_non_client_view_; |
| 669 | 670 |
| 670 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 671 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 671 }; | 672 }; |
| 672 | 673 |
| 673 } // namespace views | 674 } // namespace views |
| 674 | 675 |
| 675 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 676 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |