OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "views/focus/accelerator_handler.h" | |
6 | |
7 namespace views { | |
8 | |
9 AcceleratorHandler::AcceleratorHandler() { | |
10 } | |
11 | |
12 bool AcceleratorHandler::Dispatch(const MSG& msg) { | |
13 #if defined(OS_WIN) | |
14 TranslateMessage(&msg); | |
15 DispatchMessage(&msg); | |
16 #endif | |
17 return true; | |
18 } | |
19 | |
20 } // namespace views | |
OLD | NEW |