| 252 | } |
| 253 | |
| 254 | InputState InputManager::CloneCurrentInputState(void) { |
| 255 | InputState current_input_state; |
| 256 | current_input_state.is_alt_pressed = this->current_input_state_.is_alt_pressed; |
| 257 | current_input_state.is_control_pressed = this->current_input_state_.is_control_pressed; |
| 258 | current_input_state.is_shift_pressed = this->current_input_state_.is_shift_pressed; |
| 259 | current_input_state.is_meta_pressed = this->current_input_state_.is_meta_pressed; |
| 260 | current_input_state.is_left_button_pressed = this->current_input_state_.is_left_button_pressed; |
| 261 | current_input_state.is_right_button_pressed = this->current_input_state_.is_right_button_pressed; |
| 262 | current_input_state.mouse_x = this->current_input_state_.mouse_x; |
| 263 | current_input_state.mouse_y = this->current_input_state_.mouse_y; |
| 264 | current_input_state.error_info = this->current_input_state_.error_info; |
| 265 | return current_input_state; |
| 266 | } |
| 267 | |
| 268 | void InputManager::Reset(BrowserHandle browser_wrapper) { |
| 269 | LOG(TRACE) << "Entering InputManager::Reset"; |
no outgoing calls
no test coverage detected