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

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: review 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
« chromeos_input_method.cc ('K') | « 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 db8c129f4056ba8a8de83a6388ccc309c72886c2..2d891d8a9e9381e4e8f3baaac0df039f81a9a581 100644
--- a/load.cc
+++ b/load.cc
@@ -5,6 +5,7 @@
#include <cstdio>
#include <dlfcn.h>
#include <string.h>
+#include <utility>
Zachary Kuznia 2011/04/27 09:45:46 I don't think you need this here.
Yusuke Sato 2011/04/27 10:10:33 Done.
#include <vector>
#include "base/basictypes.h"
@@ -154,6 +155,11 @@ DECL_FUNC_4(SetImeConfig,
const char*,
const ImeConfigValue&);
DECL_FUNC_1(GetKeyboardOverlayId, std::string, const std::string&);
+DECL_FUNC_2(SendHandwritingStrokes,
+ void,
+ InputMethodStatusConnection*,
+ const chromeos::HandwritingStrokes&);
+DECL_FUNC_2(CancelHandwriting, void, InputMethodStatusConnection*, int);
DECL_FUNC_2(MonitorInputMethodUiStatus,
InputMethodUiStatusConnection*,
const InputMethodUiStatusMonitorFunctions&,
@@ -504,6 +510,8 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) {
INIT_FUNC(SetImePropertyActivated);
INIT_FUNC(SetImeConfig);
INIT_FUNC(GetKeyboardOverlayId);
+ INIT_FUNC(SendHandwritingStrokes);
+ INIT_FUNC(CancelHandwriting);
INIT_FUNC(MonitorInputMethodUiStatus);
INIT_FUNC(DisconnectInputMethodUiStatus);
INIT_FUNC(NotifyCandidateClicked);
« chromeos_input_method.cc ('K') | « chromeos_input_method.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698