summaryrefslogtreecommitdiffstats
path: root/ui/aura/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/event.h')
-rw-r--r--ui/aura/event.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/aura/event.h b/ui/aura/event.h
index 9673d0f..2691d65 100644
--- a/ui/aura/event.h
+++ b/ui/aura/event.h
@@ -14,6 +14,10 @@
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/gfx/point.h"
+namespace ui {
+class Transform;
+}
+
namespace aura {
class Window;
@@ -50,6 +54,8 @@ class AURA_EXPORT LocatedEvent : public Event {
int y() const { return location_.y(); }
gfx::Point location() const { return location_; }
+ void UpdateForTransform(const ui::Transform& transform);
+
protected:
explicit LocatedEvent(const base::NativeEvent& native_event);