| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 60 |
| 61 // Whether we are in a batch edit. | 61 // Whether we are in a batch edit. |
| 62 bool batch_edit; | 62 bool batch_edit; |
| 63 |
| 64 // Whether ACK is required. |
| 65 bool requires_ack; |
| 63 }; | 66 }; |
| 64 | 67 |
| 65 } // namespace content | 68 } // namespace content |
| 66 | 69 |
| 67 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_ | 70 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_ |
| OLD | NEW |