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

Unified Diff: trunk/src/ui/events/event.h

Issue 330613003: Revert 276728 "Fix slop region boundary handling." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « trunk/src/content/browser/renderer_host/ui_events_helper.cc ('k') | trunk/src/ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/events/event.h
===================================================================
--- trunk/src/ui/events/event.h (revision 276731)
+++ trunk/src/ui/events/event.h (working copy)
@@ -248,16 +248,13 @@
// TODO(tdresser): Always return floating point location. See
// crbug.com/337824.
gfx::Point location() const { return gfx::ToFlooredPoint(location_); }
- const gfx::PointF& location_f() const { return location_; }
+ gfx::PointF location_f() const { return location_; }
void set_root_location(const gfx::PointF& root_location) {
root_location_ = root_location;
}
gfx::Point root_location() const {
return gfx::ToFlooredPoint(root_location_);
}
- const gfx::PointF& root_location_f() const {
- return root_location_;
- }
// Transform the locations using |inverted_root_transform|.
// This is applied to both |location_| and |root_location_|.
« no previous file with comments | « trunk/src/content/browser/renderer_host/ui_events_helper.cc ('k') | trunk/src/ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698