| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_INPUT_SCROLL_STATE_DATA_H_ | 5 #ifndef CC_INPUT_SCROLL_STATE_DATA_H_ |
| 6 #define CC_INPUT_SCROLL_STATE_DATA_H_ | 6 #define CC_INPUT_SCROLL_STATE_DATA_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 | 11 |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
| 13 #include "cc/trees/property_tree.h" | 13 #include "cc/trees/property_tree.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| 17 class CC_EXPORT ScrollStateData { | 17 class CC_EXPORT ScrollStateData { |
| 18 public: | 18 public: |
| 19 ScrollStateData(); | 19 ScrollStateData(); |
| 20 ScrollStateData(const ScrollStateData& other); | 20 ScrollStateData(const ScrollStateData& other); |
| 21 | 21 |
| 22 // Scroll delta in viewport coordinates (DIP). | 22 // Scroll delta in viewport coordinates (DIP). |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // The last scroll node to respond to a scroll, or null if none exists. | 68 // The last scroll node to respond to a scroll, or null if none exists. |
| 69 ScrollNode* current_native_scrolling_node_; | 69 ScrollNode* current_native_scrolling_node_; |
| 70 // The id of the last native element to respond to a scroll, or 0 if none | 70 // The id of the last native element to respond to a scroll, or 0 if none |
| 71 // exists. | 71 // exists. |
| 72 ElementId current_native_scrolling_element_; | 72 ElementId current_native_scrolling_element_; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace cc | 75 } // namespace cc |
| 76 | 76 |
| 77 #endif // CC_INPUT_SCROLL_STATE_DATA_H_ | 77 #endif // CC_INPUT_SCROLL_STATE_DATA_H_ |
| OLD | NEW |