Index: ui/events/event.h |
diff --git a/ui/events/event.h b/ui/events/event.h |
index dfd867ec4626935e93aa2277ac49099243d13f8c..a60df8335397d78d4adf06ee892c73e51a3c9b3a 100644 |
--- a/ui/events/event.h |
+++ b/ui/events/event.h |
@@ -255,6 +255,9 @@ class EVENTS_EXPORT LocatedEvent : public Event { |
gfx::Point root_location() const { |
return gfx::ToFlooredPoint(root_location_); |
} |
+ gfx::PointF root_location_f() const { |
sadrul
2014/06/11 20:58:13
Return const &
tdresser
2014/06/12 12:45:24
Done.
|
+ return root_location_; |
+ } |
// Transform the locations using |inverted_root_transform|. |
// This is applied to both |location_| and |root_location_|. |