| Index: chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| diff --git a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| index 788ded4a49e2406990efc9277e847b8d946bfc8c..266ab4c43089e4e3b1d608812f270bb67c44f218 100644
|
| --- a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| +++ b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| @@ -645,42 +645,6 @@ bool IBusControllerImpl::ActivateInputMethodProperty(const std::string& key) {
|
| return true;
|
| }
|
|
|
| -#if defined(USE_VIRTUAL_KEYBOARD)
|
| -// IBusController override.
|
| -void IBusControllerImpl::SendHandwritingStroke(
|
| - const HandwritingStroke& stroke) {
|
| - if (stroke.size() < 2) {
|
| - DVLOG(1) << "Empty stroke data or a single dot is passed.";
|
| - return;
|
| - }
|
| -
|
| - IBusInputContext* context =
|
| - GetInputContext(current_input_context_path_, ibus_);
|
| - if (!context)
|
| - return;
|
| -
|
| - const size_t raw_stroke_size = stroke.size() * 2;
|
| - scoped_array<double> raw_stroke(new double[raw_stroke_size]);
|
| - for (size_t n = 0; n < stroke.size(); ++n) {
|
| - raw_stroke[n * 2] = stroke[n].first; // x
|
| - raw_stroke[n * 2 + 1] = stroke[n].second; // y
|
| - }
|
| - ibus_input_context_process_hand_writing_event(
|
| - context, raw_stroke.get(), raw_stroke_size);
|
| - g_object_unref(context);
|
| -}
|
| -
|
| -// IBusController override.
|
| -void IBusControllerImpl::CancelHandwriting(int n_strokes) {
|
| - IBusInputContext* context =
|
| - GetInputContext(current_input_context_path_, ibus_);
|
| - if (!context)
|
| - return;
|
| - ibus_input_context_cancel_hand_writing(context, n_strokes);
|
| - g_object_unref(context);
|
| -}
|
| -#endif
|
| -
|
| bool IBusControllerImpl::IBusConnectionsAreAlive() {
|
| return (ibus_daemon_status_ == IBUS_DAEMON_RUNNING) &&
|
| ibus_ && ibus_bus_is_connected(ibus_) && ibus_config_;
|
|
|