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_manager.h" | 5 #include "blimp/client/feature/compositor/blimp_input_manager.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "ui/events/blink/blink_event_util.h" | 10 #include "ui/events/blink/blink_event_util.h" |
11 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" | 11 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" |
12 | 12 |
13 namespace blimp { | 13 namespace blimp { |
14 namespace client { | 14 namespace client { |
15 | 15 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 bool BlimpInputManager::IsMainThread() const { | 152 bool BlimpInputManager::IsMainThread() const { |
153 return main_task_runner_->BelongsToCurrentThread(); | 153 return main_task_runner_->BelongsToCurrentThread(); |
154 } | 154 } |
155 | 155 |
156 bool BlimpInputManager::IsCompositorThread() const { | 156 bool BlimpInputManager::IsCompositorThread() const { |
157 return compositor_task_runner_->BelongsToCurrentThread(); | 157 return compositor_task_runner_->BelongsToCurrentThread(); |
158 } | 158 } |
159 | 159 |
160 } // namespace client | 160 } // namespace client |
161 } // namespace blimp | 161 } // namespace blimp |
OLD | NEW |