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

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

Issue 2470713002: [WIP Approach 1] Straighten up input method reactivation
Patch Set: fix some tests Created 4 years, 1 month 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/common/text_input_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698