OLD | NEW |
1 // Copyright (c) 2011 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/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 "ash/wm/modality_event_filter_delegate.h" |
8 #include "ui/aura/event.h" | 8 #include "ui/aura/event.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 namespace internal { | 11 namespace internal { |
(...skipping 17 matching lines...) Expand all Loading... |
29 return !delegate_->CanWindowReceiveEvents(target); | 29 return !delegate_->CanWindowReceiveEvents(target); |
30 } | 30 } |
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 ui::GestureStatus ModalityEventFilter::PreHandleGestureEvent( |
| 40 aura::Window* target, |
| 41 aura::GestureEvent* event) { |
| 42 // TODO(sad): |
| 43 return ui::GESTURE_STATUS_UNKNOWN; |
| 44 } |
| 45 |
39 } // namespace internal | 46 } // namespace internal |
40 } // namespace ash | 47 } // namespace ash |
OLD | NEW |