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

Unified Diff: ui/base/events/event.h

Issue 12321090: events: Make sure the unaccelerated scroll deltas get adjusted properly for device-scale-factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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 | « no previous file | ui/base/events/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event.h
diff --git a/ui/base/events/event.h b/ui/base/events/event.h
index a50823a9e229ea49db69f7a94586334be52e6bde..95e34ce50978357be178c70aba235c71ccf6d74d 100644
--- a/ui/base/events/event.h
+++ b/ui/base/events/event.h
@@ -655,6 +655,10 @@ class UI_EXPORT ScrollEvent : public MouseEvent {
float y_offset_ordinal() const { return y_offset_ordinal_; }
int finger_count() const { return finger_count_; }
+ // Overridden from LocatedEvent.
+ virtual void UpdateForRootTransform(
+ const gfx::Transform& root_transform) OVERRIDE;
+
private:
// Potential accelerated offsets.
float x_offset_;
« no previous file with comments | « no previous file | ui/base/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698