Index: services/ui/ws/event_dispatcher_delegate.h |
diff --git a/services/ui/ws/event_dispatcher_delegate.h b/services/ui/ws/event_dispatcher_delegate.h |
index 28a2a0a123f12e8aeb0dc4ba1796517bb9833715..f90016ad320831df5562f7c005bb910f210f4c25 100644 |
--- a/services/ui/ws/event_dispatcher_delegate.h |
+++ b/services/ui/ws/event_dispatcher_delegate.h |
@@ -31,13 +31,13 @@ class EventDispatcherDelegate { |
}; |
virtual void OnAccelerator(uint32_t accelerator, |
- const int64_t display_id, |
+ int64_t display_id, |
const ui::Event& event, |
AcceleratorPhase phase) = 0; |
virtual void SetFocusedWindowFromEventDispatcher(ServerWindow* window) = 0; |
virtual ServerWindow* GetFocusedWindowForEventDispatcher( |
- const int64_t display_id) = 0; |
+ int64_t display_id) = 0; |
// Called when capture should be set on the native display. |window| is the |
// window capture is being set on. |
@@ -58,15 +58,18 @@ class EventDispatcherDelegate { |
ServerWindow* old_capture) = 0; |
virtual void OnMouseCursorLocationChanged(const gfx::Point& point, |
- const int64_t display_id) = 0; |
+ int64_t display_id) = 0; |
// Dispatches an event to the specific client. |
virtual void DispatchInputEventToWindow(ServerWindow* target, |
ClientSpecificId client_id, |
- const int64_t display_id, |
+ int64_t display_id, |
const ui::Event& event, |
Accelerator* accelerator) = 0; |
+ // Starts processing the next event in the event queue. |
+ virtual void ProcessNextEventFromQueue() = 0; |
+ |
// Returns the id of the client to send events to. |in_nonclient_area| is |
// true if the event occurred in the non-client area of the window. |
virtual ClientSpecificId GetEventTargetClientId(const ServerWindow* window, |
@@ -86,7 +89,7 @@ class EventDispatcherDelegate { |
// Called when event dispatch could not find a target. OnAccelerator may still |
// be called. |
virtual void OnEventTargetNotFound(const ui::Event& event, |
- const int64_t display_id) = 0; |
+ int64_t display_id) = 0; |
protected: |
virtual ~EventDispatcherDelegate() {} |