diff options
author | shuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 09:35:10 +0000 |
---|---|---|
committer | shuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 09:35:10 +0000 |
commit | acf858ad704cc54b366634f3f74871e67f84fb3a (patch) | |
tree | 917611f69f01d87dcc95c467b355662160e69435 /ui/base/ime/input_method_chromeos.h | |
parent | f9adc5321171130a622db9d7a3bf5c159b58da56 (diff) | |
download | chromium_src-acf858ad704cc54b366634f3f74871e67f84fb3a.zip chromium_src-acf858ad704cc54b366634f3f74871e67f84fb3a.tar.gz chromium_src-acf858ad704cc54b366634f3f74871e67f84fb3a.tar.bz2 |
[IME] support password field in IME API. Moving the password related checks from virtual keyboard code base to input method code base. Therefore, removing related tests of virtual keyboard.
BUG=356569
TEST=Locally verified on pixel.
Review URL: https://codereview.chromium.org/212343004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ime/input_method_chromeos.h')
-rw-r--r-- | ui/base/ime/input_method_chromeos.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/base/ime/input_method_chromeos.h b/ui/base/ime/input_method_chromeos.h index bb9c29e..a67a244 100644 --- a/ui/base/ime/input_method_chromeos.h +++ b/ui/base/ime/input_method_chromeos.h @@ -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_; |