OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/window_event_dispatcher.h" | 5 #include "ui/aura/window_event_dispatcher.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 break; | 848 break; |
849 | 849 |
850 case ui::ET_TOUCH_MOVED: | 850 case ui::ET_TOUCH_MOVED: |
851 if (move_hold_count_ && !dispatching_held_event_) { | 851 if (move_hold_count_ && !dispatching_held_event_) { |
852 held_move_event_.reset(new ui::TouchEvent(*event, target, window())); | 852 held_move_event_.reset(new ui::TouchEvent(*event, target, window())); |
853 event->SetHandled(); | 853 event->SetHandled(); |
854 return; | 854 return; |
855 } | 855 } |
856 break; | 856 break; |
857 | 857 |
| 858 case ui::ET_TOUCH_STATIONARY: |
| 859 break; |
| 860 |
858 default: | 861 default: |
859 NOTREACHED(); | 862 NOTREACHED(); |
860 break; | 863 break; |
861 } | 864 } |
862 PreDispatchLocatedEvent(target, event); | 865 PreDispatchLocatedEvent(target, event); |
863 } | 866 } |
864 | 867 |
865 } // namespace aura | 868 } // namespace aura |
OLD | NEW |