Index: cc/input/scroll_state.h |
diff --git a/cc/input/scroll_state.h b/cc/input/scroll_state.h |
index 74823e4ba85abc899fa384a9ac85d5a31d16fe61..a7e5ec6fbae6b2c8f8aebe58cec465e2d7afb88a 100644 |
--- a/cc/input/scroll_state.h |
+++ b/cc/input/scroll_state.h |
@@ -34,6 +34,11 @@ class CC_EXPORT ScrollState { |
double delta_x() const { return data_.delta_x; } |
// Positive when scrolling down. |
double delta_y() const { return data_.delta_y; } |
+ // Positive when scrolling right. |
+ double delta_x_hint() const { return data_.delta_x_hint; } |
+ // Positive when scrolling down. |
+ double delta_y_hint() const { return data_.delta_y_hint; } |
+ bool ignore_delta_hints() const { return data_.ignore_delta_hints; } |
// The location associated with this scroll update. For touch, this is the |
// position of the finger. For mouse, the location of the cursor. |
int position_x() const { return data_.position_x; } |