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

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: fix windows build Created 9 years, 8 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 8fdd20fd583992af0413e0e5f0c5b43094f83bdc..6f27c25fbb54b0c8a9953cb5eb44ed685b9931e1 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -323,6 +323,12 @@ void FactoryRegistry::ResetFunctions() {
RegisterFunction<SelectFileFunction>();
RegisterFunction<SelectFilesFunction>();
RegisterFunction<ViewFilesFunction>();
+
+#if defined(TOOLKIT_VIEWS) && defined(TOUCH_UI)
Peng 2011/05/02 13:59:51 Is TOOLKIT_VIEWS necessary?
Yusuke Sato 2011/05/04 14:28:35 Done.
+ // Input
+ RegisterFunction<SendHandwritingStrokeFunction>();
+ RegisterFunction<CancelHandwritingFunction>();
+#endif
#endif
// Debugger
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_api.h » ('j') | chrome/browser/extensions/extension_input_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698