| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/wm/event_client_impl.h" | 5 #include "ash/wm/event_client_impl.h" |
| 6 | 6 |
| 7 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
| 8 #include "ash/session/session_controller.h" | 8 #include "ash/session/session_controller.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/wm_shell.h" | |
| 11 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| 12 #include "ui/keyboard/keyboard_util.h" | 11 #include "ui/keyboard/keyboard_util.h" |
| 13 | 12 |
| 14 namespace ash { | 13 namespace ash { |
| 15 | 14 |
| 16 EventClientImpl::EventClientImpl() {} | 15 EventClientImpl::EventClientImpl() {} |
| 17 | 16 |
| 18 EventClientImpl::~EventClientImpl() {} | 17 EventClientImpl::~EventClientImpl() {} |
| 19 | 18 |
| 20 bool EventClientImpl::CanProcessEventsWithinSubtree( | 19 bool EventClientImpl::CanProcessEventsWithinSubtree( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 virtual_keyboard_container->Contains(window)); | 46 virtual_keyboard_container->Contains(window)); |
| 48 } | 47 } |
| 49 return can_process_events; | 48 return can_process_events; |
| 50 } | 49 } |
| 51 | 50 |
| 52 ui::EventTarget* EventClientImpl::GetToplevelEventTarget() { | 51 ui::EventTarget* EventClientImpl::GetToplevelEventTarget() { |
| 53 return Shell::Get(); | 52 return Shell::Get(); |
| 54 } | 53 } |
| 55 | 54 |
| 56 } // namespace ash | 55 } // namespace ash |
| OLD | NEW |