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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 253 |
254 base::TimeTicks last_fling_animate_time_; | 254 base::TimeTicks last_fling_animate_time_; |
255 | 255 |
256 // Used to record overscroll notifications while an event is being | 256 // Used to record overscroll notifications while an event is being |
257 // dispatched. If the event causes overscroll, the overscroll metadata can be | 257 // dispatched. If the event causes overscroll, the overscroll metadata can be |
258 // bundled in the event ack, saving an IPC. Note that we must continue | 258 // bundled in the event ack, saving an IPC. Note that we must continue |
259 // supporting overscroll IPC notifications due to fling animation updates. | 259 // supporting overscroll IPC notifications due to fling animation updates. |
260 std::unique_ptr<DidOverscrollParams> current_overscroll_params_; | 260 std::unique_ptr<DidOverscrollParams> current_overscroll_params_; |
261 | 261 |
262 std::unique_ptr<CompositorThreadEventQueue> compositor_event_queue_; | 262 std::unique_ptr<CompositorThreadEventQueue> compositor_event_queue_; |
263 bool has_ongoing_compositor_scroll_pinch_; | 263 bool has_ongoing_compositor_scroll_fling_pinch_; |
264 | 264 |
265 std::unique_ptr<base::TickClock> tick_clock_; | 265 std::unique_ptr<base::TickClock> tick_clock_; |
266 | 266 |
267 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 267 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
268 }; | 268 }; |
269 | 269 |
270 } // namespace ui | 270 } // namespace ui |
271 | 271 |
272 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ | 272 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ |
OLD | NEW |