OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "views/focus/accelerator_handler.h" | 5 #include "views/focus/accelerator_handler.h" |
6 | 6 |
7 #include "base/keyboard_codes.h" | 7 #include "app/keyboard_codes.h" |
8 #include "base/win_util.h" | 8 #include "base/win_util.h" |
9 #include "views/event.h" | 9 #include "views/event.h" |
10 #include "views/focus/focus_manager.h" | 10 #include "views/focus/focus_manager.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 AcceleratorHandler::AcceleratorHandler() { | 14 AcceleratorHandler::AcceleratorHandler() { |
15 } | 15 } |
16 | 16 |
17 bool AcceleratorHandler::Dispatch(const MSG& msg) { | 17 bool AcceleratorHandler::Dispatch(const MSG& msg) { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 if (process_message) { | 55 if (process_message) { |
56 TranslateMessage(&msg); | 56 TranslateMessage(&msg); |
57 DispatchMessage(&msg); | 57 DispatchMessage(&msg); |
58 } | 58 } |
59 | 59 |
60 return true; | 60 return true; |
61 } | 61 } |
62 | 62 |
63 } // namespace views | 63 } // namespace views |
OLD | NEW |