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

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

Issue 2309983002: Allow selection change update before beginBatchEdit (Closed)
Patch Set: fixed a test failure Created 4 years, 3 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/input_messages.h ('k') | content/common/text_input_state.cc » ('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 #ifndef CONTENT_COMMON_TEXT_INPUT_STATE_H_ 5 #ifndef CONTENT_COMMON_TEXT_INPUT_STATE_H_
6 #define CONTENT_COMMON_TEXT_INPUT_STATE_H_ 6 #define CONTENT_COMMON_TEXT_INPUT_STATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 bool can_compose_inline; 50 bool can_compose_inline;
51 51
52 // Whether or not the IME should be shown as a result of this update. Even if 52 // Whether or not the IME should be shown as a result of this update. Even if
53 // true, the IME will only be shown if the input is appropriate (e.g. not 53 // true, the IME will only be shown if the input is appropriate (e.g. not
54 // TEXT_INPUT_TYPE_NONE). 54 // TEXT_INPUT_TYPE_NONE).
55 bool show_ime_if_needed; 55 bool show_ime_if_needed;
56 56
57 // Whether this change is originated from non-IME (e.g., Javascript, 57 // Whether this change is originated from non-IME (e.g., Javascript,
58 // Autofill). 58 // Autofill).
59 bool is_non_ime_change; 59 bool is_non_ime_change;
60
61 // Whether we are in a batch edit.
62 bool batch_edit;
60 }; 63 };
61 64
62 } // namespace content 65 } // namespace content
63 66
64 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_ 67 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_
OLDNEW
« no previous file with comments | « content/common/input_messages.h ('k') | content/common/text_input_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698