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

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: 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..0b72d8ce192b93afe2ab8ce77ebf4ce9209dd9d1 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.inputUI.hideKeyboard();
};
return this.modeElements_[mode];

Powered by Google App Engine
This is Rietveld 408576698