[ozone/wayland] Ozone Wayland IME integration [chromium/src : master]

1,299 views
Skip to first unread message

Jani Hautakangas (Gerrit)

unread,
Sep 13, 2018, 5:46:17 PM9/13/18
to Shu Chen, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Robert Kroeger, Maksim Sisov, Antonio Gomes

Jani Hautakangas would like Shu Chen to review this change.

View Change

[ozone/wayland] Ozone Wayland IME integration

Introduce Ozone Wayland IME integration.

Implements Ozone Wayland specific LinuxInputMethodContext
and adds possibility to integrate it with various Wayland
text input protocols.

Patch also introduces new SetSurroundingText function to
LinuxInputMethodContext that is internally called by
InputMethodAuraLinux on caret bounds change.

This CL:
- Implements Ozone wayland specific Linux input method
context interface and integrates it with zwp_text_input_v1 protocol.
- Introduces new runtime flag --enable-wayland-ime to
enable this feature (by default false).
- Makes Wayland IME working with InputMethodAuraLinux.
- Adds surrounding text support (kudos to msi...@igalia.com).

Bug: 791920
Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
---
M chrome/browser/ui/libgtkui/x11_input_method_context_impl_gtk.cc
M chrome/browser/ui/libgtkui/x11_input_method_context_impl_gtk.h
M ui/base/BUILD.gn
M ui/base/ime/input_method_auralinux.cc
M ui/base/ime/input_method_auralinux.h
M ui/base/ime/input_method_auralinux_unittest.cc
M ui/base/ime/input_method_factory.cc
M ui/base/ime/linux/fake_input_method_context.cc
M ui/base/ime/linux/fake_input_method_context.h
M ui/base/ime/linux/linux_input_method_context.h
M ui/ozone/platform/wayland/BUILD.gn
M ui/ozone/platform/wayland/DEPS
M ui/ozone/platform/wayland/fake_server.cc
M ui/ozone/platform/wayland/fake_server.h
M ui/ozone/platform/wayland/ozone_platform_wayland.cc
M ui/ozone/platform/wayland/wayland_connection.cc
M ui/ozone/platform/wayland/wayland_connection.h
A ui/ozone/platform/wayland/wayland_input_method_context.cc
A ui/ozone/platform/wayland/wayland_input_method_context.h
A ui/ozone/platform/wayland/wayland_input_method_context_factory.cc
A ui/ozone/platform/wayland/wayland_input_method_context_factory.h
A ui/ozone/platform/wayland/wayland_input_method_context_unittest.cc
M ui/ozone/platform/wayland/wayland_object.cc
M ui/ozone/platform/wayland/wayland_object.h
M ui/ozone/platform/wayland/wayland_window.cc
M ui/ozone/platform/wayland/wayland_window.h
A ui/ozone/platform/wayland/zwp_text_input_wrapper.h
A ui/ozone/platform/wayland/zwp_text_input_wrapper_v1.cc
A ui/ozone/platform/wayland/zwp_text_input_wrapper_v1.h
M ui/ozone/public/ozone_switches.cc
M ui/ozone/public/ozone_switches.h
31 files changed, 1,120 insertions(+), 5 deletions(-)


To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
Gerrit-Change-Number: 1193872
Gerrit-PatchSet: 13
Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
Gerrit-CC: Commit Bot <commi...@chromium.org>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
Gerrit-MessageType: newchange

Jani Hautakangas (Gerrit)

unread,
Sep 13, 2018, 5:47:07 PM9/13/18
to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Shu Chen, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Maksim Sisov, Antonio Gomes, Commit Bot

Patch Set 11:

(9 comments)

Can you explain how this works (perhaps in the patch description.) The patch looks largely good but I'm not particularly expert with Chrome IME. You'll need to eventually add a reviewer from ui/base/ime/OWNERS for ui/base/ime/*

done

View Change

    To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
    Gerrit-Change-Number: 1193872
    Gerrit-PatchSet: 13
    Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
    Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
    Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
    Gerrit-Comment-Date: Thu, 13 Sep 2018 21:47:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Jani Hautakangas (Gerrit)

    unread,
    Sep 13, 2018, 5:55:36 PM9/13/18
    to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Shu Chen, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Maksim Sisov, Antonio Gomes, Commit Bot

    Patch Set 11:

    (9 comments)

    Can you explain how this works (perhaps in the patch description.) The patch looks largely good but I'm not particularly expert with Chrome IME. You'll need to eventually add a reviewer from ui/base/ime/OWNERS for ui/base/ime/*

    Added reviewer from ui/base/ime/OWNERS

    View Change

    9 comments:

    To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
    Gerrit-Change-Number: 1193872
    Gerrit-PatchSet: 13
    Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
    Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
    Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
    Gerrit-Comment-Date: Thu, 13 Sep 2018 21:54:11 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-MessageType: comment

    Shu Chen (Gerrit)

    unread,
    Sep 14, 2018, 1:57:16 AM9/14/18
    to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Maksim Sisov, Antonio Gomes, Commit Bot

    lgtm for ui/base/ime & c/b/ui/libgtkui

    Patch set 13:Code-Review +1

    View Change

    1 comment:

    To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
    Gerrit-Change-Number: 1193872
    Gerrit-PatchSet: 13
    Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
    Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
    Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
    Gerrit-Comment-Date: Fri, 14 Sep 2018 05:57:10 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Jani Hautakangas (Gerrit)

    unread,
    Sep 14, 2018, 4:24:57 AM9/14/18
    to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Maksim Sisov, Antonio Gomes, Commit Bot

    Patch Set 13: Code-Review+1

    (1 comment)

    lgtm for ui/base/ime & c/b/ui/libgtkui

    View Change

    1 comment:

    To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
    Gerrit-Change-Number: 1193872
    Gerrit-PatchSet: 14
    Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
    Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
    Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
    Gerrit-Comment-Date: Fri, 14 Sep 2018 08:24:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Shu Chen <shu...@chromium.org>
    Gerrit-MessageType: comment

    Maksim Sisov (Gerrit)

    unread,
    Sep 14, 2018, 6:50:30 AM9/14/18
    to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Antonio Gomes, Commit Bot

    View Change

    17 comments:

    To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
    Gerrit-Change-Number: 1193872
    Gerrit-PatchSet: 14
    Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
    Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
    Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
    Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
    Gerrit-Comment-Date: Fri, 14 Sep 2018 10:50:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Maksim Sisov (Gerrit)

    unread,
    Sep 17, 2018, 6:20:08 AM9/17/18
    to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Robert Kroeger, Antonio Gomes, Commit Bot

    Robert, do you have any other questions regarding this?

    View Change

      To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
      Gerrit-Change-Number: 1193872
      Gerrit-PatchSet: 14
      Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
      Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
      Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
      Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: James Su <su...@chromium.org>
      Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
      Gerrit-Comment-Date: Mon, 17 Sep 2018 10:20:04 +0000

      Robert Kroeger (Gerrit)

      unread,
      Sep 18, 2018, 2:37:35 PM9/18/18
      to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Maksim Sisov, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

      This seems reasonable. But please address my remaining comments and those of Maksim.

      View Change

      4 comments:

        • They are from ZWPTextInputWrapper. […]

          Indeed. It's unnecessary here.

      To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
      Gerrit-Change-Number: 1193872
      Gerrit-PatchSet: 14
      Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
      Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
      Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
      Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: James Su <su...@chromium.org>
      Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
      Gerrit-Comment-Date: Tue, 18 Sep 2018 18:37:32 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Robert Kroeger <rjkr...@chromium.org>
      Comment-In-Reply-To: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-MessageType: comment

      Jani Hautakangas (Gerrit)

      unread,
      Sep 19, 2018, 2:44:56 PM9/19/18
      to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Robert Kroeger, Maksim Sisov, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

      Patch Set 14:

      (17 comments)

      Fixed the issues pointed out

      View Change

      18 comments:

        • can you please fix those to constexpr instead? thanks!

        • Done

        • Patch Set #14, Line 85: GetCurrentKeyboardFocusedWindow

          is it possible to avoid this and just use a focused window method above instead?

        • GetCurrentFocusedWindow tracks pointer focus which might be different from keyboard focus

        • can you comment this interface as well?

        • Done

        • this is not needed in the cc file

      To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
      Gerrit-Change-Number: 1193872
      Gerrit-PatchSet: 15
      Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
      Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
      Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
      Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
      Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: James Su <su...@chromium.org>
      Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
      Gerrit-Comment-Date: Wed, 19 Sep 2018 18:44:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Robert Kroeger <rjkr...@chromium.org>
      Comment-In-Reply-To: Maksim Sisov <msi...@igalia.com>
      Gerrit-MessageType: comment

      Jani Hautakangas (Gerrit)

      unread,
      Sep 19, 2018, 2:45:24 PM9/19/18
      to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Robert Kroeger, Maksim Sisov, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

      Patch Set 14:

      (4 comments)

      This seems reasonable. But please address my remaining comments and those of Maksim.

      Done

      View Change

        To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
        Gerrit-Change-Number: 1193872
        Gerrit-PatchSet: 15
        Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
        Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
        Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
        Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
        Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
        Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: James Su <su...@chromium.org>
        Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
        Gerrit-Comment-Date: Wed, 19 Sep 2018 18:45:21 +0000

        Maksim Sisov (Gerrit)

        unread,
        Sep 20, 2018, 2:35:57 PM9/20/18
        to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

        I guess, it's lgtm. Robert, wdyt?

        View Change

          To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
          Gerrit-Change-Number: 1193872
          Gerrit-PatchSet: 15
          Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
          Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
          Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
          Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
          Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
          Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: James Su <su...@chromium.org>
          Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
          Gerrit-Comment-Date: Thu, 20 Sep 2018 18:35:53 +0000

          Robert Kroeger (Gerrit)

          unread,
          Sep 24, 2018, 11:34:09 AM9/24/18
          to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Maksim Sisov, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

          lgtm. please fix nits before landing.

          Patch set 15:Code-Review +1

          View Change

          2 comments:

          To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
          Gerrit-Change-Number: 1193872
          Gerrit-PatchSet: 15
          Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
          Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
          Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
          Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
          Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
          Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: James Su <su...@chromium.org>
          Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
          Gerrit-Comment-Date: Mon, 24 Sep 2018 15:34:06 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          Gerrit-MessageType: comment

          Maksim Sisov (Gerrit)

          unread,
          Sep 24, 2018, 11:54:44 AM9/24/18
          to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

          Forgot to +1 :)

          Patch set 15:Code-Review +1

          View Change

            To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
            Gerrit-Change-Number: 1193872
            Gerrit-PatchSet: 15
            Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
            Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
            Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
            Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
            Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
            Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: James Su <su...@chromium.org>
            Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
            Gerrit-Comment-Date: Mon, 24 Sep 2018 15:54:41 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            Gerrit-MessageType: comment

            Jani Hautakangas (Gerrit)

            unread,
            Sep 25, 2018, 2:46:24 PM9/25/18
            to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Maksim Sisov, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

            Patch Set 15: Code-Review+1

            (2 comments)

            lgtm. please fix nits before landing.

            fixed

            View Change

            2 comments:

            To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
            Gerrit-Change-Number: 1193872
            Gerrit-PatchSet: 16
            Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
            Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
            Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
            Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
            Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
            Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: James Su <su...@chromium.org>
            Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
            Gerrit-Comment-Date: Tue, 25 Sep 2018 18:45:13 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Robert Kroeger <rjkr...@chromium.org>
            Gerrit-MessageType: comment

            Thomas Anderson (Gerrit)

            unread,
            Sep 25, 2018, 3:04:29 PM9/25/18
            to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Yuki Shiino, Maksim Sisov, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

            libgtkui lgtm

            Patch set 16:Code-Review +1

            View Change

              To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
              Gerrit-Change-Number: 1193872
              Gerrit-PatchSet: 16
              Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
              Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
              Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
              Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
              Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
              Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
              Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
              Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: James Su <su...@chromium.org>
              Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
              Gerrit-Comment-Date: Tue, 25 Sep 2018 19:04:27 +0000

              Jani Hautakangas (Gerrit)

              unread,
              Sep 25, 2018, 4:21:40 PM9/25/18
              to nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Thomas Anderson, Yuki Shiino, Maksim Sisov, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes, Commit Bot

              Patch set 16:Commit-Queue +2

              View Change

                To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
                Gerrit-Change-Number: 1193872
                Gerrit-PatchSet: 16
                Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
                Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
                Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
                Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
                Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
                Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
                Gerrit-CC: Commit Bot <commi...@chromium.org>
                Gerrit-CC: James Su <su...@chromium.org>
                Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
                Gerrit-Comment-Date: Tue, 25 Sep 2018 20:21:36 +0000

                Commit Bot (Gerrit)

                unread,
                Sep 25, 2018, 4:26:43 PM9/25/18
                to Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Thomas Anderson, Yuki Shiino, Maksim Sisov, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes

                Commit Bot merged this change.

                View Change

                Approvals: Robert Kroeger: Looks good to me Shu Chen: Looks good to me Thomas Anderson: Looks good to me Maksim Sisov: Looks good to me Jani Hautakangas: Commit
                [ozone/wayland] Ozone Wayland IME integration

                Introduce Ozone Wayland IME integration.

                Implements Ozone Wayland specific LinuxInputMethodContext
                and adds possibility to integrate it with various Wayland
                text input protocols.

                Patch also introduces new SetSurroundingText function to
                LinuxInputMethodContext that is internally called by
                InputMethodAuraLinux on caret bounds change.

                This CL:
                - Implements Ozone wayland specific Linux input method
                context interface and integrates it with zwp_text_input_v1 protocol.
                - Introduces new runtime flag --enable-wayland-ime to
                enable this feature (by default false).
                - Makes Wayland IME working with InputMethodAuraLinux.
                - Adds surrounding text support (kudos to msi...@igalia.com).

                Bug: 791920
                Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
                Reviewed-on: https://chromium-review.googlesource.com/1193872
                Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
                Reviewed-by: Robert Kroeger <rjkr...@chromium.org>
                Reviewed-by: Maksim Sisov <msi...@igalia.com>
                Reviewed-by: Shu Chen <shu...@chromium.org>
                Commit-Queue: Jani Hautakangas <jani.hau...@lge.com>
                Cr-Commit-Position: refs/heads/master@{#594082}
                31 files changed, 1,180 insertions(+), 16 deletions(-)


                To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
                Gerrit-Change-Number: 1193872
                Gerrit-PatchSet: 17
                Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
                Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
                Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
                Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
                Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
                Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
                Gerrit-CC: James Su <su...@chromium.org>
                Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
                Gerrit-MessageType: merged

                Yuki Shiino (Gerrit)

                unread,
                Sep 26, 2018, 1:46:58 AM9/26/18
                to Commit Bot, Jani Hautakangas, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, yhanad...@chromium.org, yusuke...@chromium.org, Yuki Shiino, Thomas Anderson, Maksim Sisov, Robert Kroeger, Shu Chen, Tricium, chromium...@chromium.org, Kalyan Kondapally, James Su, Antonio Gomes

                shuchen@ is the primary owner of IME, so please wait for the review.

                ui/base/ime/ LGTM.

                I'd recommend to split this patch into two: one for making the existing Aura/Linux IME code ready for Ozone Wayland IME, and another for the rest. It would be easier to observe that there is no regression for existing platforms.

                Patch set 17:Code-Review +1

                View Change

                2 comments:

                To view, visit change 1193872. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-Change-Id: I168d4a266bff6e62acce69edf943469e05e575ac
                Gerrit-Change-Number: 1193872
                Gerrit-PatchSet: 17
                Gerrit-Owner: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Antonio Gomes <toni...@igalia.com>
                Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                Gerrit-Reviewer: Jani Hautakangas <jani.hau...@lge.com>
                Gerrit-Reviewer: Maksim Sisov <msi...@igalia.com>
                Gerrit-Reviewer: Robert Kroeger <rjkr...@chromium.org>
                Gerrit-Reviewer: Shu Chen <shu...@chromium.org>
                Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
                Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
                Gerrit-CC: James Su <su...@chromium.org>
                Gerrit-CC: Kalyan Kondapally <kalyan.k...@intel.com>
                Gerrit-Comment-Date: Wed, 26 Sep 2018 05:46:53 +0000
                Reply all
                Reply to author
                Forward
                0 new messages