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

Issue 160577: Cleanup GtkIMContext related code by splitting it into separated source file. (Closed)

Created:
11 years, 4 months ago by James Su
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google), Dean McNamee
Visibility:
Public.

Description

Cleanup GtkIMContext related code by splitting it into separated source file. This CL splits GtkIMContext related code into separated source files from render_widget_host_view_gtk.{h,cc}, making the code clearer to read. It also fixes issue 18061. Focus moving issues related to AutocompleteEditViewGtk will be addressed in another CL, see issue 18393 for reference. BUG=18061 : pressing tab on form textfields goes directly to submit or login buttons TEST=Starts scim's xim server with command "scim -d", then launches chrome with GTK_IM_MODULE=xim. Opens a web page with multiple input box, such as gmail.com, presses Tab and Shift-Tab multiple times to see if focus moves among focusable elements in the web page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22996

Patch Set 1 #

Total comments: 13

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -569 lines) Patch
A chrome/browser/renderer_host/gtk_im_context_wrapper.h View 1 2 1 chunk +158 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/gtk_im_context_wrapper.cc View 1 2 1 chunk +496 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.h View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 3 4 chunks +5 lines, -565 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
James Su
Hi, Please help review this CL, which makes GtkIMContext related code clearer and fixes issue ...
11 years, 4 months ago (2009-08-04 08:02:41 UTC) #1
Hironori Bono
(+deanm) These are just drive-by nits since my Linux box is not available now. I'm ...
11 years, 4 months ago (2009-08-04 09:43:17 UTC) #2
James Su
Thanks for your comments. CL has been updated accordingly. http://codereview.chromium.org/160577/diff/1/2 File chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (right): http://codereview.chromium.org/160577/diff/1/2#newcode543 Line ...
11 years, 4 months ago (2009-08-04 10:09:24 UTC) #3
James Su
ping.
11 years, 4 months ago (2009-08-05 09:03:54 UTC) #4
Hironori Bono
Sorry for my slow response. I have been setting up another Linux PC today because ...
11 years, 4 months ago (2009-08-05 09:55:00 UTC) #5
James Su
Hi, Patch uploaded again with English locale. Regards James Su On 2009/08/05 09:55:00, hbono wrote: ...
11 years, 4 months ago (2009-08-05 10:01:16 UTC) #6
Hironori Bono
deanm, As you know, "gtktextview.c" calls gtk_im_context_filter_keypress() in its gtk_text_view_key_press_event(). So, IMEs work good without ...
11 years, 4 months ago (2009-08-06 09:13:26 UTC) #7
James Su
Hi, As I understand, the purpose of im context related code in AutocompleteEditViewGtk::HandleKeyPress() is to ...
11 years, 4 months ago (2009-08-06 10:01:37 UTC) #8
Hironori Bono
Hi James, Let me clarify your message. Does this "preparing another change" mean "preparing another ...
11 years, 4 months ago (2009-08-06 10:23:01 UTC) #9
James Su
I think it's better to create a new change for AutocompleteEditViewGtk class and revert relevant ...
11 years, 4 months ago (2009-08-06 10:25:55 UTC) #10
James Su
Changes to AutocompleteEditViewGtk has been reverted. Another CL will be created for that part. See ...
11 years, 4 months ago (2009-08-06 10:43:14 UTC) #11
Hironori Bono
Hi Jamese, Is it possible to remove the "BUG=18061..." line and the "TEST=..." line of ...
11 years, 4 months ago (2009-08-06 11:05:10 UTC) #12
James Su
Hi, This CL does fix issue 18061. This issue only mentions focus moving problem inside ...
11 years, 4 months ago (2009-08-06 12:44:04 UTC) #13
Hironori Bono
LGTM. Thank you for your IME work and sorry for my misunderstanding. Regards, Hironori Bono ...
11 years, 4 months ago (2009-08-07 03:10:52 UTC) #14
James Su
ping.
11 years, 4 months ago (2009-08-10 22:19:43 UTC) #15
Dean McNamee
I didn't work on this code originally. Hbono's review is probably good enough, maybe ask ...
11 years, 4 months ago (2009-08-10 23:02:34 UTC) #16
Evan Stade
I stand behind hbono's LGTM
11 years, 4 months ago (2009-08-10 23:16:48 UTC) #17
James Su
11 years, 4 months ago (2009-08-11 01:36:05 UTC) #18
On 2009/08/10 23:16:48, Evan Stade wrote:
> I stand behind hbono's LGTM

Thanks for review. CL submitted.

Regards
James Su

Powered by Google App Engine
This is Rietveld 408576698