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 #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 Loading... |
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_ |
OLD | NEW |