Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: ui/aura/window_event_dispatcher.cc

Issue 262483003: Implementation of the Touch Exploration Mode - Part I (ui) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event_source
Patch Set: Implementing review feedback from dmazzoni@ Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
sadrul 2014/04/30 18:51:15 We currently never generate STATIONARY events. I s
sadrul 2014/04/30 19:16:24 (Removing in https://codereview.chromium.org/26848
mfomitchev 2014/04/30 21:33:53 Done.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698