| 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/input/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/input/blimp_input_manager.h" | 10 #include "blimp/client/feature/compositor/blimp_input_manager.h" |
| 11 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" | 11 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" |
| 12 | 12 |
| 13 namespace blimp { | 13 namespace blimp { |
| 14 namespace client { | 14 namespace client { |
| 15 | 15 |
| 16 BlimpInputHandlerWrapper::BlimpInputHandlerWrapper( | 16 BlimpInputHandlerWrapper::BlimpInputHandlerWrapper( |
| 17 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 17 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| 18 const base::WeakPtr<BlimpInputManager> input_manager_weak_ptr, | 18 const base::WeakPtr<BlimpInputManager> input_manager_weak_ptr, |
| 19 cc::InputHandler* input_handler) | 19 cc::InputHandler* input_handler) |
| 20 : main_task_runner_(main_task_runner), | 20 : main_task_runner_(main_task_runner), |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void BlimpInputHandlerWrapper::DidStopFlinging() { | 101 void BlimpInputHandlerWrapper::DidStopFlinging() { |
| 102 DCHECK(compositor_thread_checker_.CalledOnValidThread()); | 102 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 103 } | 103 } |
| 104 | 104 |
| 105 void BlimpInputHandlerWrapper::DidAnimateForInput() { | 105 void BlimpInputHandlerWrapper::DidAnimateForInput() { |
| 106 DCHECK(compositor_thread_checker_.CalledOnValidThread()); | 106 DCHECK(compositor_thread_checker_.CalledOnValidThread()); |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace client | 109 } // namespace client |
| 110 } // namespace blimp | 110 } // namespace blimp |
| OLD | NEW |