Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / base / ime / input_method_chromeos.h
index bb9c29e..3c4794b 100644 (file)
@@ -109,6 +109,10 @@ class UI_BASE_EXPORT InputMethodChromeOS
   // Callback function for IMEEngineHandlerInterface::ProcessKeyEvent.
   void ProcessKeyEventDone(uint32 id, ui::KeyEvent* event, bool is_handled);
 
+  // Returns whether an input field is focused. Note that password field is not
+  // considered as an input field.
+  bool IsInputFieldFocused();
+
   // All pending key events. Note: we do not own these object, we just save
   // pointers to these object so that we can abandon them when necessary.
   // They will be deleted in ProcessKeyEventDone().
@@ -127,9 +131,6 @@ class UI_BASE_EXPORT InputMethodChromeOS
   base::string16 previous_surrounding_text_;
   gfx::Range previous_selection_range_;
 
-  // Indicates if input context is focused or not.
-  bool context_focused_;
-
   // Indicates if there is an ongoing composition text.
   bool composing_text_;
 
@@ -143,8 +144,6 @@ class UI_BASE_EXPORT InputMethodChromeOS
   // including dead key etc.
   CharacterComposer character_composer_;
 
-  TextInputType previous_textinput_type_;
-
   // Used for making callbacks.
   base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_;