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

Issue 391011: Avoid inconsistent state (leading to checkfailures) due to Windows minimize/r... (Closed)

Created:
11 years, 1 month ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Avoid inconsistent state (leading to checkfailures) due to Windows minimize/restore functionality hiding and showing the autocomplete dropdown outside of the awareness of the controller. Instead, this switches to the simpler model of just creating a new HWND when we want to show the dropdown, and destroying it when we want to close it. Happily, this also seems to save quite a bit of code. BUG=20511 TEST=Type a character in the omnibox, minimize the window, and restore it. The dropdown should have disappeared. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31649

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -167 lines) Patch
M chrome/browser/autocomplete/autocomplete_popup_model.cc View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc View 1 5 chunks +14 lines, -26 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_gtk.h View 1 chunk +3 lines, -23 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_gtk.cc View 1 1 chunk +11 lines, -46 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_win.h View 1 chunk +4 lines, -21 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_win.cc View 2 chunks +8 lines, -38 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Peter Kasting
11 years, 1 month ago (2009-11-11 03:36:54 UTC) #1
Peter Kasting
Reviewers: Ben Goodger, Description: Avoid inconsistent state (leading to checkfailures) due to Windows minimize/restore functionality ...
11 years, 1 month ago (2009-11-11 03:37:12 UTC) #2
Ben Goodger (Google)
LGTM
11 years, 1 month ago (2009-11-11 04:43:50 UTC) #3
Ben Goodger (Google)
11 years, 1 month ago (2009-11-11 04:44:12 UTC) #4

Powered by Google App Engine
This is Rietveld 408576698