Chromium Code Reviews| Index: content/common/text_input_state.cc |
| diff --git a/content/common/text_input_state.cc b/content/common/text_input_state.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec5fbfe9d4ea4adf6fa5475bc92827919cba84a1 |
| --- /dev/null |
| +++ b/content/common/text_input_state.cc |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/common/text_input_state.h" |
| + |
| +namespace content { |
| + |
| +TextInputState::TextInputState() |
| + : type(ui::TEXT_INPUT_TYPE_NONE), |
| + mode(ui::TEXT_INPUT_MODE_DEFAULT), |
| + flags(0), |
| + selection_start(0), |
| + selection_end(0), |
| + composition_start(-1), |
| + composition_end(-1), |
| + can_compose_inline(true), |
| + show_ime_if_needed(false), |
| + is_non_ime_change(true) {} |
|
Charlie Reis
2016/04/22 23:02:38
Does this require a change to BrowserPluginGuest,
EhsanK
2016/04/25 19:09:00
This initialization is compatible to what we decid
Charlie Reis
2016/04/26 06:13:23
Acknowledged.
|
| + |
| +TextInputState::TextInputState(const TextInputState& other) = default; |
| + |
| +} // namespace content |