Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1484)

Unified Diff: chrome/browser/resources/keyboard/main.js

Issue 7033033: Add hideKeyboard API to chrome.experimental.input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 'Rename HideKeyboardInputFunction to HideKeyboardFunction' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/keyboard/main.js
diff --git a/chrome/browser/resources/keyboard/main.js b/chrome/browser/resources/keyboard/main.js
index 197280560eb3d403c5a49ea2cd620f24f1bf3f97..aae745172cee933fb674e3a274aaeceeebdf1953 100644
--- a/chrome/browser/resources/keyboard/main.js
+++ b/chrome/browser/resources/keyboard/main.js
@@ -413,7 +413,7 @@ HideKeyboardKey.prototype = {
this.sizeElement(mode, height);
this.modeElements_[mode].onclick = function() {
- // TODO(bryeung): need a way to cancel the keyboard
+ chrome.experimental.input.hideKeyboard();
};
return this.modeElements_[mode];
« no previous file with comments | « chrome/browser/extensions/extension_input_api.cc ('k') | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698