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

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

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: rebase Created 3 years, 11 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 int composition_end; 47 int composition_end;
48 48
49 // Whether or not inline composition can be performed for the current input. 49 // Whether or not inline composition can be performed for the current input.
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 or not this is a reply to a request from IME.
58 // Autofill). 58 bool reply_to_request;
59 bool is_non_ime_change;
60 }; 59 };
61 60
62 } // namespace content 61 } // namespace content
63 62
64 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_ 63 #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