| Index: components/exo/pointer.h
|
| diff --git a/components/exo/pointer.h b/components/exo/pointer.h
|
| index 157498a4d41c19c38b38b2c9f3c90368cb92a56e..df158e1df3eaa42dc0979aad33a387a0877b7e31 100644
|
| --- a/components/exo/pointer.h
|
| +++ b/components/exo/pointer.h
|
| @@ -26,7 +26,6 @@ class Widget;
|
|
|
| namespace exo {
|
| class PointerDelegate;
|
| -class PointerStylusDelegate;
|
| class Surface;
|
|
|
| // This class implements a client pointer that represents one or more input
|
| @@ -46,10 +45,6 @@ class Pointer : public ui::EventHandler,
|
| // pointer location, in surface local coordinates.
|
| void SetCursor(Surface* surface, const gfx::Point& hotspot);
|
|
|
| - bool HasStylusDelegate() const;
|
| - // Set delegate for stylus events.
|
| - void SetStylusDelegate(PointerStylusDelegate* delegate);
|
| -
|
| // Overridden from ui::EventHandler:
|
| void OnMouseEvent(ui::MouseEvent* event) override;
|
| void OnScrollEvent(ui::ScrollEvent* event) override;
|
| @@ -77,9 +72,6 @@ class Pointer : public ui::EventHandler,
|
| // The delegate instance that all events are dispatched to.
|
| PointerDelegate* const delegate_;
|
|
|
| - // The delegate instance that all stylus related events are dispatched to.
|
| - PointerStylusDelegate* stylus_delegate_ = nullptr;
|
| -
|
| // The widget for the pointer cursor.
|
| std::unique_ptr<views::Widget> widget_;
|
|
|
| @@ -98,18 +90,6 @@ class Pointer : public ui::EventHandler,
|
| // The position of the pointer surface relative to the pointer location.
|
| gfx::Point hotspot_;
|
|
|
| - // The current pointer type.
|
| - ui::EventPointerType pointer_type_;
|
| -
|
| - // The current pointer tilt.
|
| - gfx::Vector2dF tilt_;
|
| -
|
| - // The current pointer force.
|
| - float force_;
|
| -
|
| - // True if the pointer is controlled via direct input.
|
| - bool is_direct_input_ = false;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(Pointer);
|
| };
|
|
|
|
|