summaryrefslogtreecommitdiff
path: root/chromium/content/common/text_input_state.cc
blob: f6044bfd26d41f7c189ca434fec35e5ffcca4c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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),
      reply_to_request(false) {}

TextInputState::TextInputState(const TextInputState& other) = default;

}  //  namespace content