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

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

Issue 6905053: Add 2 Extension APIs for handwriting: experimental.input.sendHandritingStroke and cancelHandWriting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix 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 8a2783668d47bbcd6454495e9a6e75ab53490835..9a6b372214baaed763f7f8fdafc4df406e7efef2 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -329,6 +329,12 @@ void FactoryRegistry::ResetFunctions() {
RegisterFunction<SelectFileFunction>();
RegisterFunction<SelectFilesFunction>();
RegisterFunction<ViewFilesFunction>();
+
+#if defined(TOUCH_UI)
+ // Input
+ RegisterFunction<SendHandwritingStrokeFunction>();
+ RegisterFunction<CancelHandwritingStrokesFunction>();
+#endif
#endif
// Debugger
« no previous file with comments | « chrome/browser/chromeos/cros/mock_input_method_library.h ('k') | chrome/browser/extensions/extension_input_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698