OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 | 184 |
185 // Tries to connect given BT device as pointing one. | 185 // Tries to connect given BT device as pointing one. |
186 void TryPairingAsPointingDevice(device::BluetoothDevice* device); | 186 void TryPairingAsPointingDevice(device::BluetoothDevice* device); |
187 | 187 |
188 // Tries to connect given BT device as keyboard. | 188 // Tries to connect given BT device as keyboard. |
189 void TryPairingAsKeyboardDevice(device::BluetoothDevice* device); | 189 void TryPairingAsKeyboardDevice(device::BluetoothDevice* device); |
190 | 190 |
191 // Default bluetooth adapter, used for all operations. | 191 // Default bluetooth adapter, used for all operations. |
192 scoped_refptr<device::BluetoothAdapter> adapter_; | 192 scoped_refptr<device::BluetoothAdapter> adapter_; |
193 | 193 |
194 InputServiceProxy input_service_proxy_; | 194 InputServiceProxy* input_service_proxy_; |
Nikita (slow)
2015/02/11 14:53:08
scoped_ptr<>
merkulova
2015/02/13 10:00:04
Done.
| |
195 | 195 |
196 // The current device discovery session. Only one active discovery session is | 196 // The current device discovery session. Only one active discovery session is |
197 // kept at a time and the instance that |discovery_session_| points to gets | 197 // kept at a time and the instance that |discovery_session_| points to gets |
198 // replaced by a new one when a new discovery session is initiated. | 198 // replaced by a new one when a new discovery session is initiated. |
199 scoped_ptr<device::BluetoothDiscoverySession> discovery_session_; | 199 scoped_ptr<device::BluetoothDiscoverySession> discovery_session_; |
200 | 200 |
201 // Current pointing device, if any. | 201 // Current pointing device, if any. |
202 std::string pointing_device_name_; | 202 std::string pointing_device_name_; |
203 std::string pointing_device_id_; | 203 std::string pointing_device_id_; |
204 bool mouse_is_pairing_; | 204 bool mouse_is_pairing_; |
(...skipping 12 matching lines...) Expand all Loading... | |
217 | 217 |
218 base::WeakPtrFactory<HIDDetectionScreenHandler> weak_ptr_factory_; | 218 base::WeakPtrFactory<HIDDetectionScreenHandler> weak_ptr_factory_; |
219 | 219 |
220 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreenHandler); | 220 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreenHandler); |
221 }; | 221 }; |
222 | 222 |
223 } // namespace chromeos | 223 } // namespace chromeos |
224 | 224 |
225 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H _ | 225 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H _ |
226 | 226 |
OLD | NEW |