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

Unified Diff: ui/events/event.h

Issue 328733003: Fix slop region boundary handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile. Created 6 years, 6 months 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
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_|.

Powered by Google App Engine
This is Rietveld 408576698