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

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

Issue 1987343002: Drag and drop cleans up touch sequences from the source window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/window_event_dispatcher.cc » ('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 #ifndef UI_AURA_WINDOW_EVENT_DISPATCHER_H_ 5 #ifndef UI_AURA_WINDOW_EVENT_DISPATCHER_H_
6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ 6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 bool CanDispatchToTarget(ui::EventTarget* target) override; 190 bool CanDispatchToTarget(ui::EventTarget* target) override;
191 ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target, 191 ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target,
192 ui::Event* event) override; 192 ui::Event* event) override;
193 ui::EventDispatchDetails PostDispatchEvent(ui::EventTarget* target, 193 ui::EventDispatchDetails PostDispatchEvent(ui::EventTarget* target,
194 const ui::Event& event) override; 194 const ui::Event& event) override;
195 195
196 // Overridden from ui::GestureEventHelper. 196 // Overridden from ui::GestureEventHelper.
197 bool CanDispatchToConsumer(ui::GestureConsumer* consumer) override; 197 bool CanDispatchToConsumer(ui::GestureConsumer* consumer) override;
198 void DispatchGestureEvent(ui::GestureConsumer* raw_input_consumer, 198 void DispatchGestureEvent(ui::GestureConsumer* raw_input_consumer,
199 ui::GestureEvent* event) override; 199 ui::GestureEvent* event) override;
200 void DispatchCancelTouchEvent(ui::GestureConsumer* raw_input_consumer, 200 void DispatchSyntheticTouchEvent(ui::TouchEvent* event) override;
201 ui::TouchEvent* event) override;
202 201
203 // Overridden from WindowObserver: 202 // Overridden from WindowObserver:
204 void OnWindowDestroying(Window* window) override; 203 void OnWindowDestroying(Window* window) override;
205 void OnWindowDestroyed(Window* window) override; 204 void OnWindowDestroyed(Window* window) override;
206 void OnWindowAddedToRootWindow(Window* window) override; 205 void OnWindowAddedToRootWindow(Window* window) override;
207 void OnWindowRemovingFromRootWindow(Window* window, 206 void OnWindowRemovingFromRootWindow(Window* window,
208 Window* new_root) override; 207 Window* new_root) override;
209 void OnWindowVisibilityChanging(Window* window, bool visible) override; 208 void OnWindowVisibilityChanging(Window* window, bool visible) override;
210 void OnWindowVisibilityChanged(Window* window, bool visible) override; 209 void OnWindowVisibilityChanged(Window* window, bool visible) override;
211 void OnWindowBoundsChanged(Window* window, 210 void OnWindowBoundsChanged(Window* window,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 277
279 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. 278 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0.
280 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; 279 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_;
281 280
282 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); 281 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher);
283 }; 282 };
284 283
285 } // namespace aura 284 } // namespace aura
286 285
287 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ 286 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698