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

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

Issue 552503003: Introduce EventProcessor::OnEventProcessingStarted() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sadrul comments addressed Created 6 years, 2 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 | « chrome/browser/ui/views/frame/browser_root_view.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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Window* GetGestureTarget(ui::GestureEvent* event); 168 Window* GetGestureTarget(ui::GestureEvent* event);
169 169
170 // Overridden from aura::client::CaptureDelegate: 170 // Overridden from aura::client::CaptureDelegate:
171 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE; 171 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE;
172 virtual void OnOtherRootGotCapture() OVERRIDE; 172 virtual void OnOtherRootGotCapture() OVERRIDE;
173 virtual void SetNativeCapture() OVERRIDE; 173 virtual void SetNativeCapture() OVERRIDE;
174 virtual void ReleaseNativeCapture() OVERRIDE; 174 virtual void ReleaseNativeCapture() OVERRIDE;
175 175
176 // Overridden from ui::EventProcessor: 176 // Overridden from ui::EventProcessor:
177 virtual ui::EventTarget* GetRootTarget() OVERRIDE; 177 virtual ui::EventTarget* GetRootTarget() OVERRIDE;
178 virtual void PrepareEventForDispatch(ui::Event* event) OVERRIDE; 178 virtual void OnEventProcessingStarted(ui::Event* event) OVERRIDE;
179 179
180 // Overridden from ui::EventDispatcherDelegate. 180 // Overridden from ui::EventDispatcherDelegate.
181 virtual bool CanDispatchToTarget(ui::EventTarget* target) OVERRIDE; 181 virtual bool CanDispatchToTarget(ui::EventTarget* target) OVERRIDE;
182 virtual ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target, 182 virtual ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target,
183 ui::Event* event) OVERRIDE; 183 ui::Event* event) OVERRIDE;
184 virtual ui::EventDispatchDetails PostDispatchEvent( 184 virtual ui::EventDispatchDetails PostDispatchEvent(
185 ui::EventTarget* target, const ui::Event& event) OVERRIDE; 185 ui::EventTarget* target, const ui::Event& event) OVERRIDE;
186 186
187 // Overridden from ui::GestureEventHelper. 187 // Overridden from ui::GestureEventHelper.
188 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; 188 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. 264 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0.
265 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; 265 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_;
266 266
267 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); 267 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher);
268 }; 268 };
269 269
270 } // namespace aura 270 } // namespace aura
271 271
272 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ 272 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_root_view.cc ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698