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

Unified Diff: components/exo/pointer.h

Issue 2562803002: exo: Replace pointer based stylus and replace with touch based stylus (Closed)
Patch Set: updated deps in gn file Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/pointer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/pointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698