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_ |