summaryrefslogtreecommitdiffstats
path: root/views/focus/accelerator_handler_aura.cc
blob: 8f2f31a5bfda78b8153e9705ac08668ff4e9d3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "views/focus/accelerator_handler.h"

namespace views {

AcceleratorHandler::AcceleratorHandler() {
}

bool AcceleratorHandler::Dispatch(const MSG& msg) {
#if defined(OS_WIN)
  TranslateMessage(&msg);
  DispatchMessage(&msg);
#endif
  return true;
}

}  // namespace views