| 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 "athena/input/accelerator_manager_impl.h" | 5 #include "athena/input/accelerator_manager_impl.h" |
| 6 | 6 |
| 7 #include "athena/common/switches.h" | |
| 8 #include "athena/input/public/input_manager.h" | 7 #include "athena/input/public/input_manager.h" |
| 8 #include "athena/util/switches.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| 11 #include "ui/base/accelerators/accelerator_manager.h" | 11 #include "ui/base/accelerators/accelerator_manager.h" |
| 12 #include "ui/events/event.h" | 12 #include "ui/events/event.h" |
| 13 #include "ui/events/event_target.h" | 13 #include "ui/events/event_target.h" |
| 14 #include "ui/views/focus/focus_manager.h" | 14 #include "ui/views/focus/focus_manager.h" |
| 15 #include "ui/views/focus/focus_manager_delegate.h" | 15 #include "ui/views/focus/focus_manager_delegate.h" |
| 16 #include "ui/views/focus/focus_manager_factory.h" | 16 #include "ui/views/focus/focus_manager_factory.h" |
| 17 #include "ui/wm/core/accelerator_delegate.h" | 17 #include "ui/wm/core/accelerator_delegate.h" |
| 18 #include "ui/wm/core/accelerator_filter.h" | 18 #include "ui/wm/core/accelerator_filter.h" |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 return InputManager::Get()->GetAcceleratorManager(); | 329 return InputManager::Get()->GetAcceleratorManager(); |
| 330 } | 330 } |
| 331 | 331 |
| 332 // static | 332 // static |
| 333 scoped_ptr<AcceleratorManager> AcceleratorManager::CreateForFocusManager( | 333 scoped_ptr<AcceleratorManager> AcceleratorManager::CreateForFocusManager( |
| 334 views::FocusManager* focus_manager) { | 334 views::FocusManager* focus_manager) { |
| 335 return AcceleratorManagerImpl::CreateForFocusManager(focus_manager).Pass(); | 335 return AcceleratorManagerImpl::CreateForFocusManager(focus_manager).Pass(); |
| 336 } | 336 } |
| 337 | 337 |
| 338 } // namespace athena | 338 } // namespace athena |
| OLD | NEW |