| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <cstdio> | 5 #include <cstdio> |
| 6 #include <dlfcn.h> | 6 #include <dlfcn.h> |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 bool, InputMethodStatusConnection*, const char*); | 147 bool, InputMethodStatusConnection*, const char*); |
| 148 DECL_FUNC_3(SetImePropertyActivated, | 148 DECL_FUNC_3(SetImePropertyActivated, |
| 149 void, InputMethodStatusConnection*, const char*, bool); | 149 void, InputMethodStatusConnection*, const char*, bool); |
| 150 DECL_FUNC_4(SetImeConfig, | 150 DECL_FUNC_4(SetImeConfig, |
| 151 bool, | 151 bool, |
| 152 InputMethodStatusConnection*, | 152 InputMethodStatusConnection*, |
| 153 const char*, | 153 const char*, |
| 154 const char*, | 154 const char*, |
| 155 const ImeConfigValue&); | 155 const ImeConfigValue&); |
| 156 DECL_FUNC_1(GetKeyboardOverlayId, std::string, const std::string&); | 156 DECL_FUNC_1(GetKeyboardOverlayId, std::string, const std::string&); |
| 157 DECL_FUNC_2(SendHandwritingStrokes, |
| 158 void, |
| 159 InputMethodStatusConnection*, |
| 160 const chromeos::HandwritingStrokes&); |
| 161 DECL_FUNC_2(CancelHandwriting, void, InputMethodStatusConnection*, int); |
| 157 DECL_FUNC_2(MonitorInputMethodUiStatus, | 162 DECL_FUNC_2(MonitorInputMethodUiStatus, |
| 158 InputMethodUiStatusConnection*, | 163 InputMethodUiStatusConnection*, |
| 159 const InputMethodUiStatusMonitorFunctions&, | 164 const InputMethodUiStatusMonitorFunctions&, |
| 160 void*); | 165 void*); |
| 161 DECL_FUNC_1(DisconnectInputMethodUiStatus, | 166 DECL_FUNC_1(DisconnectInputMethodUiStatus, |
| 162 void, | 167 void, |
| 163 InputMethodUiStatusConnection*); | 168 InputMethodUiStatusConnection*); |
| 164 DECL_FUNC_4(NotifyCandidateClicked, void, | 169 DECL_FUNC_4(NotifyCandidateClicked, void, |
| 165 InputMethodUiStatusConnection*, int, int, int); | 170 InputMethodUiStatusConnection*, int, int, int); |
| 166 DECL_FUNC_1(NotifyCursorUp, void, | 171 DECL_FUNC_1(NotifyCursorUp, void, |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 INIT_FUNC(DisconnectResume); | 502 INIT_FUNC(DisconnectResume); |
| 498 | 503 |
| 499 // Input methods | 504 // Input methods |
| 500 INIT_FUNC(MonitorInputMethodStatus); | 505 INIT_FUNC(MonitorInputMethodStatus); |
| 501 INIT_FUNC(StopInputMethodProcess); | 506 INIT_FUNC(StopInputMethodProcess); |
| 502 INIT_FUNC(GetSupportedInputMethodDescriptors); | 507 INIT_FUNC(GetSupportedInputMethodDescriptors); |
| 503 INIT_FUNC(ChangeInputMethod); | 508 INIT_FUNC(ChangeInputMethod); |
| 504 INIT_FUNC(SetImePropertyActivated); | 509 INIT_FUNC(SetImePropertyActivated); |
| 505 INIT_FUNC(SetImeConfig); | 510 INIT_FUNC(SetImeConfig); |
| 506 INIT_FUNC(GetKeyboardOverlayId); | 511 INIT_FUNC(GetKeyboardOverlayId); |
| 512 INIT_FUNC(SendHandwritingStrokes); |
| 513 INIT_FUNC(CancelHandwriting); |
| 507 INIT_FUNC(MonitorInputMethodUiStatus); | 514 INIT_FUNC(MonitorInputMethodUiStatus); |
| 508 INIT_FUNC(DisconnectInputMethodUiStatus); | 515 INIT_FUNC(DisconnectInputMethodUiStatus); |
| 509 INIT_FUNC(NotifyCandidateClicked); | 516 INIT_FUNC(NotifyCandidateClicked); |
| 510 INIT_FUNC(NotifyCursorUp); | 517 INIT_FUNC(NotifyCursorUp); |
| 511 INIT_FUNC(NotifyCursorDown); | 518 INIT_FUNC(NotifyCursorDown); |
| 512 INIT_FUNC(NotifyPageUp); | 519 INIT_FUNC(NotifyPageUp); |
| 513 INIT_FUNC(NotifyPageDown); | 520 INIT_FUNC(NotifyPageDown); |
| 514 INIT_FUNC(MonitorInputMethodConnection); | 521 INIT_FUNC(MonitorInputMethodConnection); |
| 515 | 522 |
| 516 // Mount | 523 // Mount |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 INIT_FUNC(NotifyNetworkProxyResolved); | 724 INIT_FUNC(NotifyNetworkProxyResolved); |
| 718 | 725 |
| 719 return error_string.empty(); | 726 return error_string.empty(); |
| 720 } | 727 } |
| 721 | 728 |
| 722 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) { | 729 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) { |
| 723 addHistogram = func; | 730 addHistogram = func; |
| 724 } | 731 } |
| 725 | 732 |
| 726 } // namespace chromeos | 733 } // namespace chromeos |
| OLD | NEW |