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 "ui/views/focus/accelerator_handler.h" | |
6 | |
7 #include <gtk/gtk.h> | |
8 | |
9 #include "ui/views/focus/focus_manager.h" | |
10 | |
11 namespace views { | |
12 | |
13 AcceleratorHandler::AcceleratorHandler() {} | |
14 | |
15 bool AcceleratorHandler::Dispatch(GdkEvent* event) { | |
16 // The logic for handling keyboard accelerators has been moved into | |
17 // NativeWidgetGtk::OnEventKey handler (views/widget/widget_gtk.cc). | |
18 gtk_main_do_event(event); | |
19 return true; | |
20 } | |
21 | |
22 } // namespace views | |
OLD | NEW |