Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: content/common/text_input_state.cc

Issue 2309983002: Allow selection change update before beginBatchEdit (Closed)
Patch Set: fixed a test failure Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/text_input_state.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « content/common/text_input_state.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698