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

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

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a flag to disable the touch exploration mode. 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
« no previous file with comments | « ui/aura/test/event_generator.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
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
« no previous file with comments | « ui/aura/test/event_generator.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698