| 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/window_modality_controller.h" | 5 #include "ash/wm/window_modality_controller.h" |
| 6 | 6 |
| 7 #include "ash/wm/window_util.h" | 7 #include "ash/wm/window_util.h" |
| 8 #include "ui/aura/client/aura_constants.h" | 8 #include "ui/aura/client/aura_constants.h" |
| 9 #include "ui/aura/event.h" | 9 #include "ui/aura/event.h" |
| 10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 return !!modal_transient_child; | 65 return !!modal_transient_child; |
| 66 } | 66 } |
| 67 | 67 |
| 68 ui::TouchStatus WindowModalityController::PreHandleTouchEvent( | 68 ui::TouchStatus WindowModalityController::PreHandleTouchEvent( |
| 69 aura::Window* target, | 69 aura::Window* target, |
| 70 aura::TouchEvent* event) { | 70 aura::TouchEvent* event) { |
| 71 // TODO: make touch work with modals. | 71 // TODO: make touch work with modals. |
| 72 return ui::TOUCH_STATUS_UNKNOWN; | 72 return ui::TOUCH_STATUS_UNKNOWN; |
| 73 } | 73 } |
| 74 | 74 |
| 75 ui::GestureStatus WindowModalityController::PreHandleGestureEvent( |
| 76 aura::Window* target, |
| 77 aura::GestureEvent* event) { |
| 78 // TODO: make gestures work with modals. |
| 79 return ui::GESTURE_STATUS_UNKNOWN; |
| 80 } |
| 81 |
| 75 } // namespace internal | 82 } // namespace internal |
| 76 } // namespace ash | 83 } // namespace ash |
| OLD | NEW |