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
3 // found in the LICENSE file.
5 #include "ui/views/focus/accelerator_handler.h"
9 AcceleratorHandler::AcceleratorHandler() {
12 bool AcceleratorHandler::Dispatch(const base::NativeEvent
& event
) {
14 TranslateMessage(&event
);
15 DispatchMessage(&event
);
16 #endif // defined(OS_WIN)
21 bool DispatchXEvent(XEvent
* xev
) {
24 #endif // defined(USE_X11)