diff options
author | yoichio@chromium.org <yoichio@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-08 23:53:45 +0000 |
---|---|---|
committer | yoichio@chromium.org <yoichio@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-08 23:53:45 +0000 |
commit | 130019382461d25322d3b98d041e582e37be098b (patch) | |
tree | 1d32497929a7ce5980355f730bb17a38f92367d0 /ui/base | |
parent | 56cd594d684b90cfa24f55d4853010e03ce948a3 (diff) | |
download | chromium_src-130019382461d25322d3b98d041e582e37be098b.zip chromium_src-130019382461d25322d3b98d041e582e37be098b.tar.gz chromium_src-130019382461d25322d3b98d041e582e37be098b.tar.bz2 |
Change IME conversion status by focusing input element
This CL affects Windows except 8.
example: When user input focuses <input inputmode="kana" />, IME changes its mode to Hiragana input mode if the IME has.
inputmode attribute is specified in HTML5 draft:
http://www.w3.org/html/wg/drafts/html/master/single-page.html#input-modalities:-the-inputmode-attribute
TEST=manual test using MS-IME and GoogleJapaneseInput
BUG=244688
Review URL: https://chromiumcodereview.appspot.com/21189003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base')
-rw-r--r-- | ui/base/ime/win/imm32_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/base/ime/win/imm32_manager.h b/ui/base/ime/win/imm32_manager.h index 08776ab..17892cb 100644 --- a/ui/base/ime/win/imm32_manager.h +++ b/ui/base/ime/win/imm32_manager.h @@ -77,7 +77,7 @@ struct CompositionText; class UI_EXPORT IMM32Manager { public: IMM32Manager(); - ~IMM32Manager(); + virtual ~IMM32Manager(); // Retrieves whether or not there is an ongoing composition. bool is_composing() const { return is_composing_; } @@ -241,7 +241,7 @@ class UI_EXPORT IMM32Manager { base::i18n::TextDirection GetTextDirection() const; // Sets conversion status corresponding to |input_mode|. - void SetTextInputMode(HWND window_handle, TextInputMode input_mode); + virtual void SetTextInputMode(HWND window_handle, TextInputMode input_mode); // Helper functions ---------------------------------------------------------- |