OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ | 5 #ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ |
6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ | 6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // happen via the SynchronouslyAnimate() call instead of coming directly from | 209 // happen via the SynchronouslyAnimate() call instead of coming directly from |
210 // the InputHandler. | 210 // the InputHandler. |
211 SynchronousInputHandler* synchronous_input_handler_; | 211 SynchronousInputHandler* synchronous_input_handler_; |
212 bool allow_root_animate_; | 212 bool allow_root_animate_; |
213 | 213 |
214 #ifndef NDEBUG | 214 #ifndef NDEBUG |
215 bool expect_scroll_update_end_; | 215 bool expect_scroll_update_end_; |
216 #endif | 216 #endif |
217 bool gesture_scroll_on_impl_thread_; | 217 bool gesture_scroll_on_impl_thread_; |
218 bool gesture_pinch_on_impl_thread_; | 218 bool gesture_pinch_on_impl_thread_; |
| 219 bool scroll_sequence_ignored_; |
219 // This is always false when there are no flings on the main thread, but | 220 // This is always false when there are no flings on the main thread, but |
220 // conservative in the sense that we might not be actually flinging when it is | 221 // conservative in the sense that we might not be actually flinging when it is |
221 // true. | 222 // true. |
222 bool fling_may_be_active_on_main_thread_; | 223 bool fling_may_be_active_on_main_thread_; |
223 // The axes on which the current fling is allowed to scroll. If a given fling | 224 // The axes on which the current fling is allowed to scroll. If a given fling |
224 // has overscrolled on a particular axis, further fling scrolls on that axis | 225 // has overscrolled on a particular axis, further fling scrolls on that axis |
225 // will be disabled. | 226 // will be disabled. |
226 bool disallow_horizontal_fling_scroll_; | 227 bool disallow_horizontal_fling_scroll_; |
227 bool disallow_vertical_fling_scroll_; | 228 bool disallow_vertical_fling_scroll_; |
228 | 229 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 bool has_ongoing_compositor_scroll_fling_pinch_; | 263 bool has_ongoing_compositor_scroll_fling_pinch_; |
263 | 264 |
264 std::unique_ptr<base::TickClock> tick_clock_; | 265 std::unique_ptr<base::TickClock> tick_clock_; |
265 | 266 |
266 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 267 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
267 }; | 268 }; |
268 | 269 |
269 } // namespace ui | 270 } // namespace ui |
270 | 271 |
271 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ | 272 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ |
OLD | NEW |