summaryrefslogtreecommitdiffstats
path: root/views/focus
diff options
context:
space:
mode:
Diffstat (limited to 'views/focus')
-rw-r--r--views/focus/accelerator_handler_aura.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/focus/accelerator_handler_aura.cc b/views/focus/accelerator_handler_aura.cc
new file mode 100644
index 0000000..8f2f31a
--- /dev/null
+++ b/views/focus/accelerator_handler_aura.cc
@@ -0,0 +1,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