OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/accelerators/accelerator_dispatcher.h" | 5 #include "ash/accelerators/accelerator_dispatcher.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
10 #include "ui/events/platform/platform_event_dispatcher.h" | 10 #include "ui/events/platform/platform_event_dispatcher.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcherLinux); | 86 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcherLinux); |
87 }; | 87 }; |
88 | 88 |
89 scoped_ptr<AcceleratorDispatcher> AcceleratorDispatcher::Create( | 89 scoped_ptr<AcceleratorDispatcher> AcceleratorDispatcher::Create( |
90 base::MessagePumpDispatcher* nested_dispatcher) { | 90 base::MessagePumpDispatcher* nested_dispatcher) { |
91 return scoped_ptr<AcceleratorDispatcher>(new AcceleratorDispatcherLinux()); | 91 return scoped_ptr<AcceleratorDispatcher>(new AcceleratorDispatcherLinux()); |
92 } | 92 } |
93 | 93 |
94 } // namespace ash | 94 } // namespace ash |
OLD | NEW |