| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_INPUT_HANDLER_H_ | 5 #ifndef CC_INPUT_INPUT_HANDLER_H_ |
| 6 #define CC_INPUT_INPUT_HANDLER_H_ | 6 #define CC_INPUT_INPUT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class Vector2d; | 24 class Vector2d; |
| 25 class Vector2dF; | 25 class Vector2dF; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace ui { | 28 namespace ui { |
| 29 class LatencyInfo; | 29 class LatencyInfo; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace cc { | 32 namespace cc { |
| 33 | 33 |
| 34 class LayerScrollOffsetDelegate; | |
| 35 class ScrollElasticityHelper; | 34 class ScrollElasticityHelper; |
| 36 | 35 |
| 37 struct CC_EXPORT InputHandlerScrollResult { | 36 struct CC_EXPORT InputHandlerScrollResult { |
| 38 InputHandlerScrollResult(); | 37 InputHandlerScrollResult(); |
| 39 // Did any layer scroll as a result this ScrollBy call? | 38 // Did any layer scroll as a result this ScrollBy call? |
| 40 bool did_scroll; | 39 bool did_scroll; |
| 41 // Was any of the scroll delta argument to this ScrollBy call not used? | 40 // Was any of the scroll delta argument to this ScrollBy call not used? |
| 42 bool did_overscroll_root; | 41 bool did_overscroll_root; |
| 43 // The total overscroll that has been accumulated by all ScrollBy calls that | 42 // The total overscroll that has been accumulated by all ScrollBy calls that |
| 44 // have had overscroll since the last ScrollBegin call. This resets upon a | 43 // have had overscroll since the last ScrollBegin call. This resets upon a |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 InputHandler() {} | 202 InputHandler() {} |
| 204 virtual ~InputHandler() {} | 203 virtual ~InputHandler() {} |
| 205 | 204 |
| 206 private: | 205 private: |
| 207 DISALLOW_COPY_AND_ASSIGN(InputHandler); | 206 DISALLOW_COPY_AND_ASSIGN(InputHandler); |
| 208 }; | 207 }; |
| 209 | 208 |
| 210 } // namespace cc | 209 } // namespace cc |
| 211 | 210 |
| 212 #endif // CC_INPUT_INPUT_HANDLER_H_ | 211 #endif // CC_INPUT_INPUT_HANDLER_H_ |
| OLD | NEW |