Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Issue 224723008: [linux/aura] Supports IBus in async mode. (Closed)

Created:
6 years, 8 months ago by Yuki
Modified:
6 years, 8 months ago
CC:
chromium-reviews, James Su, sadrul, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, penghuang+watch_chromium.org, nona+watch_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

[linux/aura] Supports IBus in async mode. ibus-gtk in async mode processes key events asynchronously and sometimes pushes key events back to the GDK event queue. So we need to pull those pushed-back GDK events from the queue in order to support ibus-gtk in async mode. This CL pulls GDK events from the GDK event queue and translate them into X events and puts them back to the X event queue, so as if ibus-gtk puts those key events back to X event queue instead of GDK event queue. The reason that we'd like to support ibus-gtk in async mode is that ibus-hangul doesn't work well with ibus-gtk sync mode. See Issue 354495 for details. BUG=354495 TEST=Done manualy. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262352

Patch Set 1 #

Patch Set 2 : Addressed review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -40 lines) Patch
A chrome/browser/ui/libgtk2ui/gtk2_event_loop.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/libgtk2ui/gtk2_event_loop.cc View 1 1 chunk +80 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_auralinux.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/base/ime/input_method_auralinux.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M ui/base/ime/input_method_initializer.cc View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yuki
Hi Elliot, Could you take a look at this CL? Although we're not happy to ...
6 years, 8 months ago (2014-04-04 12:11:19 UTC) #1
sadrul
The message-pump should not do any gtk/gdk work. This code should move somewhere into chrome/browser/ui/libgtk2ui/
6 years, 8 months ago (2014-04-04 12:47:13 UTC) #2
Yuki
On 2014/04/04 12:47:13, sadrul wrote: > The message-pump should not do any gtk/gdk work. This ...
6 years, 8 months ago (2014-04-04 15:13:54 UTC) #3
sadrul-g
On Apr 4, 2014 11:13 AM, <yukishiino@chromium.org> wrote: > > On 2014/04/04 12:47:13, sadrul wrote: ...
6 years, 8 months ago (2014-04-04 15:18:59 UTC) #4
Elliot Glaysher
On 2014/04/04 15:13:54, Yuki wrote: > On 2014/04/04 12:47:13, sadrul wrote: > > The message-pump ...
6 years, 8 months ago (2014-04-04 18:00:19 UTC) #5
Yuki
Updated the code. I've moved GDK/GTK dependent code into c/b/ui/libgtk2ui. Sadrul was right. My first ...
6 years, 8 months ago (2014-04-07 09:43:30 UTC) #6
Elliot Glaysher
On 2014/04/07 09:43:30, Yuki wrote: > Updated the code. > > I've moved GDK/GTK dependent ...
6 years, 8 months ago (2014-04-07 18:01:09 UTC) #7
Yuki
Sadrul@, could you take another look at this CL?
6 years, 8 months ago (2014-04-08 01:25:31 UTC) #8
sadrul
lgtm
6 years, 8 months ago (2014-04-08 03:02:43 UTC) #9
Yuki
The CQ bit was checked by yukishiino@chromium.org
6 years, 8 months ago (2014-04-08 03:11:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/224723008/20001
6 years, 8 months ago (2014-04-08 03:12:42 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 08:43:25 UTC) #12
Message was sent while issue was closed.
Change committed as 262352

Powered by Google App Engine
This is Rietveld 408576698