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

Issue 274046: Linux: Stack autocomplete popup window directly on top of the browser's tople... (Closed)

Created:
11 years, 2 months ago by James Su
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Linux: Stack autocomplete popup window directly on top of the browser's toplevel window. BUG=19082 "Linux: Omnibox auto-complete popup is on top of IME candidate window when using SCIM" TEST=Please refer to the bug report for how to test.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -23 lines) Patch
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc View 1 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/gtk/info_bubble_gtk.cc View 1 1 chunk +2 lines, -20 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_gtk.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc View 1 4 chunks +14 lines, -2 lines 0 comments Download
M chrome/common/gtk_util.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/gtk_util.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
James Su
11 years, 2 months ago (2009-10-14 09:03:45 UTC) #1
Daniel Erat
LGTM http://codereview.chromium.org/274046/diff/1/5 File chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc (right): http://codereview.chromium.org/274046/diff/1/5#newcode37 Line 37: toplevel_ = gtk_widget_get_toplevel(edit_view->GetNativeView()); Is it safer to ...
11 years, 2 months ago (2009-10-14 18:16:32 UTC) #2
James Su
11 years, 2 months ago (2009-10-15 06:46:20 UTC) #3
Code changed according to your suggestion.

James Su

http://codereview.chromium.org/274046/diff/1/5
File chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc (right):

http://codereview.chromium.org/274046/diff/1/5#newcode37
Line 37: toplevel_ = gtk_widget_get_toplevel(edit_view->GetNativeView());
On 2009/10/14 18:16:32, Daniel Erat wrote:
> Is it safer to do this in StackWindow(), or is it guaranteed that the toplevel
> window will already exist when the popup is initialized?  I don't have a good
> feeling for the order in which components are created.

Current code guarantee that the popup view will be initialized just before it's
popped up the first time.
Anyway, I changed the code according to your suggestion, in case the logic may
change later.

Powered by Google App Engine
This is Rietveld 408576698