Chromium Code Reviews| 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); |