| 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 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h" | 5 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "blimp/client/feature/compositor/blimp_input_manager.h" | 10 #include "blimp/client/feature/compositor/blimp_input_manager.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 } | 90 } |
| 91 | 91 |
| 92 void BlimpInputHandlerWrapper::DidOverscroll( | 92 void BlimpInputHandlerWrapper::DidOverscroll( |
| 93 const gfx::Vector2dF& accumulated_overscroll, | 93 const gfx::Vector2dF& accumulated_overscroll, |
| 94 const gfx::Vector2dF& latest_overscroll_delta, | 94 const gfx::Vector2dF& latest_overscroll_delta, |
| 95 const gfx::Vector2dF& current_fling_velocity, | 95 const gfx::Vector2dF& current_fling_velocity, |
| 96 const gfx::PointF& causal_event_viewport_point) { | 96 const gfx::PointF& causal_event_viewport_point) { |
| 97 DCHECK(compositor_thread_checker_.CalledOnValidThread()); | 97 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 98 } | 98 } |
| 99 | 99 |
| 100 void BlimpInputHandlerWrapper::DidStartFlinging() { |
| 101 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 102 } |
| 103 |
| 100 void BlimpInputHandlerWrapper::DidStopFlinging() { | 104 void BlimpInputHandlerWrapper::DidStopFlinging() { |
| 101 DCHECK(compositor_thread_checker_.CalledOnValidThread()); | 105 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 102 } | 106 } |
| 103 | 107 |
| 104 void BlimpInputHandlerWrapper::DidAnimateForInput() { | 108 void BlimpInputHandlerWrapper::DidAnimateForInput() { |
| 105 DCHECK(compositor_thread_checker_.CalledOnValidThread()); | 109 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 106 } | 110 } |
| 107 | 111 |
| 108 } // namespace client | 112 } // namespace client |
| 109 } // namespace blimp | 113 } // namespace blimp |
| OLD | NEW |