| Index: chrome/browser/chromeos/cros/input_method_library.cc
|
| diff --git a/chrome/browser/chromeos/cros/input_method_library.cc b/chrome/browser/chromeos/cros/input_method_library.cc
|
| index d8519d21d76b4587b8327d8e583956d3d8ce0cd6..89072efbfcd72f8ba474d57c5a61b48ecf07000e 100644
|
| --- a/chrome/browser/chromeos/cros/input_method_library.cc
|
| +++ b/chrome/browser/chromeos/cros/input_method_library.cc
|
| @@ -262,6 +262,18 @@ class InputMethodLibraryImpl : public InputMethodLibrary,
|
| return chromeos::GetKeyboardOverlayId(input_method_id);
|
| }
|
|
|
| + virtual void SendHandwritingStroke(const HandwritingStroke& stroke) {
|
| + if (!initialized_successfully_)
|
| + return;
|
| + chromeos::SendHandwritingStroke(input_method_status_connection_, stroke);
|
| + }
|
| +
|
| + virtual void CancelHandwriting(int n_strokes) {
|
| + if (!initialized_successfully_)
|
| + return;
|
| + chromeos::CancelHandwriting(input_method_status_connection_, n_strokes);
|
| + }
|
| +
|
| private:
|
| // Returns true if the given input method config value is a single
|
| // element string list that contains an input method ID of a keyboard
|
| @@ -895,6 +907,9 @@ class InputMethodLibraryStubImpl : public InputMethodLibrary {
|
| iter->second : "";
|
| }
|
|
|
| + virtual void SendHandwritingStroke(const HandwritingStroke& stroke) {}
|
| + virtual void CancelHandwriting(int n_strokes) {}
|
| +
|
| private:
|
| typedef std::map<std::string, std::string> KeyboardOverlayMap;
|
|
|
|
|