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

Unified Diff: ui/base/ime/text_input_type.h

Issue 7041003: Show composition text on IME panel when Pepper plugin is focused (Linux). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separated the preedit-needed flag to a different enum. Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« content/common/view_messages.h ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/text_input_type.h
diff --git a/ui/base/ime/text_input_type.h b/ui/base/ime/text_input_type.h
index 19c13326d0948a79c56c64541acae17eee0e41f1..6bc4e2ad9118bc1660bff44d3bbf4967c60e6ffb 100644
--- a/ui/base/ime/text_input_type.h
+++ b/ui/base/ime/text_input_type.h
@@ -25,6 +25,19 @@ enum TextInputType {
// Email, URL, etc.
};
+// Flag for indicating how preedit texts should be drawn.
+enum TextInputPreeditType {
James Su 2011/06/13 01:31:10 We use term "composition" instead of "preedit" in
kinaba 2011/06/13 08:08:05 Done (for all the other parts of this patch).
+ // Input caret is in an editable node without capability of drawing preedit
+ // text by itself, any input method can be used but should draw preedit
+ // text in the input method UI.
+ TEXT_INPUT_PREEDIT_ON_CANDIDATE_WINDOW,
+
+ // Input caret is in an editable node with capability of drawing preedit
+ // text by itself, any input method can be used but should draw preedit
+ // text in the input method UI.
+ TEXT_INPUT_PREEDIT_INLINE,
+};
+
} // namespace ui
#endif // UI_BASE_IME_TEXT_INPUT_TYPE_H_
« content/common/view_messages.h ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698