| 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/common/session/session_state_delegate.h" | |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
| 8 #include "ash/session/session_state_delegate.h" |
| 10 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/wm_shell.h" |
| 11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 #include "ui/keyboard/keyboard_util.h" | 12 #include "ui/keyboard/keyboard_util.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 | 15 |
| 16 EventClientImpl::EventClientImpl() {} | 16 EventClientImpl::EventClientImpl() {} |
| 17 | 17 |
| 18 EventClientImpl::~EventClientImpl() {} | 18 EventClientImpl::~EventClientImpl() {} |
| 19 | 19 |
| 20 bool EventClientImpl::CanProcessEventsWithinSubtree( | 20 bool EventClientImpl::CanProcessEventsWithinSubtree( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 virtual_keyboard_container->Contains(window)); | 47 virtual_keyboard_container->Contains(window)); |
| 48 } | 48 } |
| 49 return can_process_events; | 49 return can_process_events; |
| 50 } | 50 } |
| 51 | 51 |
| 52 ui::EventTarget* EventClientImpl::GetToplevelEventTarget() { | 52 ui::EventTarget* EventClientImpl::GetToplevelEventTarget() { |
| 53 return Shell::GetInstance(); | 53 return Shell::GetInstance(); |
| 54 } | 54 } |
| 55 | 55 |
| 56 } // namespace ash | 56 } // namespace ash |
| OLD | NEW |