| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "content/common/text_input_state.h" | 5 #include "content/common/text_input_state.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 TextInputState::TextInputState() | 9 TextInputState::TextInputState() |
| 10 : type(ui::TEXT_INPUT_TYPE_NONE), | 10 : type(ui::TEXT_INPUT_TYPE_NONE), |
| 11 mode(ui::TEXT_INPUT_MODE_DEFAULT), | 11 mode(ui::TEXT_INPUT_MODE_DEFAULT), |
| 12 flags(0), | 12 flags(0), |
| 13 selection_start(0), | 13 selection_start(0), |
| 14 selection_end(0), | 14 selection_end(0), |
| 15 composition_start(-1), | 15 composition_start(-1), |
| 16 composition_end(-1), | 16 composition_end(-1), |
| 17 can_compose_inline(true), | 17 can_compose_inline(true), |
| 18 show_ime_if_needed(false), | 18 show_ime_if_needed(false), |
| 19 is_non_ime_change(true) {} | 19 is_non_ime_change(true), |
| 20 batch_edit(false) {} |
| 20 | 21 |
| 21 TextInputState::TextInputState(const TextInputState& other) = default; | 22 TextInputState::TextInputState(const TextInputState& other) = default; |
| 22 | 23 |
| 23 } // namespace content | 24 } // namespace content |
| OLD | NEW |