summaryrefslogtreecommitdiff
path: root/chromium/components/exo/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/exo/seat.h')
-rw-r--r--chromium/components/exo/seat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/components/exo/seat.h b/chromium/components/exo/seat.h
index e114c1eac77..d5730af5df0 100644
--- a/chromium/components/exo/seat.h
+++ b/chromium/components/exo/seat.h
@@ -72,6 +72,10 @@ class Seat : public aura::client::FocusChangeObserver,
Surface* icon,
ui::DragDropTypes::DragEventSource event_source);
+ // Sets the last location in screen coordinates, irrespective of mouse or
+ // touch.
+ void SetLastLocation(const gfx::Point& last_location);
+
// Abort any drag operations that haven't been started yet.
void AbortPendingDragOperation();
@@ -159,6 +163,8 @@ class Seat : public aura::client::FocusChangeObserver,
// True while Seat is updating clipboard data to selection source.
bool changing_clipboard_data_to_selection_source_;
+ gfx::Point last_location_;
+
base::WeakPtrFactory<Seat> weak_ptr_factory_{this};
DISALLOW_COPY_AND_ASSIGN(Seat);