namespace chromeos {
-class IBusText;
+class CompositionText;
namespace input_method {
struct InputMethodProperty;
// This IME ID in Chrome Extension.
std::string engine_id_;
+ // This IME's Chrome Extension ID.
+ std::string extension_id_;
+
// This IME ID in InputMethodManager.
std::string imm_id_;
InputMethodEngineInterface::Observer* observer_;
// The current preedit text, and it's cursor position.
- scoped_ptr<IBusText> preedit_text_;
- int preedit_cursor_;
+ scoped_ptr<CompositionText> composition_text_;
+ int composition_cursor_;
// The current candidate window.
scoped_ptr<ui::CandidateWindow> candidate_window_;
// Used for input view window.
GURL input_view_url_;
+
+ // Used with SendKeyEvents and ProcessKeyEvent to check if the key event
+ // sent to ProcessKeyEvent is sent by SendKeyEvents.
+ const ui::KeyEvent* sent_key_event_;
};
} // namespace chromeos