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

Unified Diff: load.cc

Issue 6880171: Add two libcros interfaces for handwriting: SendHandwritingStrokes and CancelHandwriting. (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros.git@master
Patch Set: style fix; changed the function name following zork's suggestion 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
« no previous file with comments | « chromeos_input_method.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: load.cc
diff --git a/load.cc b/load.cc
index f224b6f4657d57fc20e0650252a01742b2fdddb4..69187ffaf0eb31c19bacee86a13db76065bf38ff 100644
--- a/load.cc
+++ b/load.cc
@@ -153,6 +153,11 @@ DECL_FUNC_4(SetImeConfig,
const char*,
const ImeConfigValue&);
DECL_FUNC_1(GetKeyboardOverlayId, std::string, const std::string&);
+DECL_FUNC_2(SendHandwritingStroke,
+ void,
+ InputMethodStatusConnection*,
+ const chromeos::HandwritingStroke&);
+DECL_FUNC_2(CancelHandwriting, void, InputMethodStatusConnection*, int);
DECL_FUNC_2(MonitorInputMethodUiStatus,
InputMethodUiStatusConnection*,
const InputMethodUiStatusMonitorFunctions&,
@@ -497,6 +502,8 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) {
INIT_FUNC(SetImePropertyActivated);
INIT_FUNC(SetImeConfig);
INIT_FUNC(GetKeyboardOverlayId);
+ INIT_FUNC(SendHandwritingStroke);
+ INIT_FUNC(CancelHandwriting);
INIT_FUNC(MonitorInputMethodUiStatus);
INIT_FUNC(DisconnectInputMethodUiStatus);
INIT_FUNC(NotifyCandidateClicked);
« no previous file with comments | « chromeos_input_method.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698