| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 "ui/aura_shell/modality_event_filter.h" | 5 #include "ash/wm/modality_event_filter.h" |
| 6 | 6 |
| 7 #include "ash/wm/modality_event_filter_delegate.h" |
| 7 #include "ui/aura/event.h" | 8 #include "ui/aura/event.h" |
| 8 #include "ui/aura_shell/modality_event_filter_delegate.h" | |
| 9 | 9 |
| 10 namespace aura_shell { | 10 namespace aura_shell { |
| 11 namespace internal { | 11 namespace internal { |
| 12 | 12 |
| 13 ModalityEventFilter::ModalityEventFilter(aura::Window* container, | 13 ModalityEventFilter::ModalityEventFilter(aura::Window* container, |
| 14 ModalityEventFilterDelegate* delegate) | 14 ModalityEventFilterDelegate* delegate) |
| 15 : EventFilter(container), | 15 : EventFilter(container), |
| 16 delegate_(delegate) { | 16 delegate_(delegate) { |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 ui::TouchStatus ModalityEventFilter::PreHandleTouchEvent( | 32 ui::TouchStatus ModalityEventFilter::PreHandleTouchEvent( |
| 33 aura::Window* target, | 33 aura::Window* target, |
| 34 aura::TouchEvent* event) { | 34 aura::TouchEvent* event) { |
| 35 // TODO(sadrul): ! | 35 // TODO(sadrul): ! |
| 36 return ui::TOUCH_STATUS_UNKNOWN; | 36 return ui::TOUCH_STATUS_UNKNOWN; |
| 37 } | 37 } |
| 38 | 38 |
| 39 } // namespace internal | 39 } // namespace internal |
| 40 } // namespace aura_shell | 40 } // namespace aura_shell |
| OLD | NEW |