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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 7033033: Add hideKeyboard API to chrome.experimental.input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 'Moved hideKeyboard to chrome.experimental.input namespace' 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/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index a64d6a1c6369f3436b6fefa670bda5a1190dc254..f7bd228bd95c16e09bb1a8366e9d65c6e17d913d 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -274,6 +274,10 @@ void FactoryRegistry::ResetFunctions() {
RegisterFunction<SendKeyboardEventInputFunction>();
#endif
+#if defined(TOUCH_UI)
+ RegisterFunction<HideKeyboardInputFunction>();
+#endif
+
#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
// IME
RegisterFunction<CandidateClickedInputUiFunction>();
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_api.h » ('j') | chrome/browser/extensions/extension_input_api.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698