summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard_controller_proxy.h
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-23 04:25:44 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-23 04:25:44 +0000
commit5021a08a8927b706a044018ec8806194958f4343 (patch)
tree76e150738e514b07b541b4874101cdb6036101d4 /ui/keyboard/keyboard_controller_proxy.h
parent52560868fd5c9244ef603d2560ca6e773cf580d4 (diff)
downloadchromium_src-5021a08a8927b706a044018ec8806194958f4343.zip
chromium_src-5021a08a8927b706a044018ec8806194958f4343.tar.gz
chromium_src-5021a08a8927b706a044018ec8806194958f4343.tar.bz2
Create chrome.virtualKeyboardPrivate.onTextInputBoxFocused Events
BUG=268949 Review URL: https://chromiumcodereview.appspot.com/23792006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/keyboard/keyboard_controller_proxy.h')
-rw-r--r--ui/keyboard/keyboard_controller_proxy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h
index 41761b5..5358597 100644
--- a/ui/keyboard/keyboard_controller_proxy.h
+++ b/ui/keyboard/keyboard_controller_proxy.h
@@ -57,10 +57,10 @@ class KEYBOARD_EXPORT KeyboardControllerProxy {
// necesasry animation, or delay the visibility change as it desires.
virtual void HideKeyboardContainer(aura::Window* container);
- // Calls OnTextInputBoxFocused javascript function through webui to update
- // TextInputType on javascript side. This is for web ui keyboard. Extension
- // keyboard can use chrome.input.ime.onFocus to get the same information.
- void SetUpdateInputType(ui::TextInputType type);
+ // Updates the type of the focused text input box. The default implementation
+ // calls OnTextInputBoxFocused javascript function through webui to update the
+ // type the of focused input box.
+ virtual void SetUpdateInputType(ui::TextInputType type);
protected:
// Gets the BrowserContext to use for creating the WebContents hosting the