diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:01:00 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:01:00 +0000 |
commit | 30f75e618e08b5bd943feec72261cc36a8fd9280 (patch) | |
tree | 7f108ae961dc8ff5b11f904bdbc4894247f2c7c0 /chrome/views | |
parent | e191c147e4704d4e75f548cdaf90f914d196aa63 (diff) | |
download | chromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.zip chromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.tar.gz chromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.tar.bz2 |
This CL causes the autofill popup to hide when the browser window is moved or resized.
TEST=Bring up an autofill popup in a form, move the browser. The autofill popup should be closed.
BUG=7401
R=ben
Review URL: http://codereview.chromium.org/28126
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/widget_win.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/views/widget_win.h b/chrome/views/widget_win.h index d135e27..97f9fe4 100644 --- a/chrome/views/widget_win.h +++ b/chrome/views/widget_win.h @@ -192,6 +192,7 @@ class WidgetWin : public Widget, MSG_WM_DESTROY(OnDestroy) MSG_WM_ERASEBKGND(OnEraseBkgnd) MSG_WM_ENDSESSION(OnEndSession) + MSG_WM_ENTERSIZEMOVE(OnEnterSizeMove) MSG_WM_EXITMENULOOP(OnExitMenuLoop) MSG_WM_HSCROLL(OnHScroll) MSG_WM_INITMENU(OnInitMenu) @@ -362,6 +363,7 @@ class WidgetWin : public Widget, // leak a few things. virtual void OnDestroy(); virtual void OnEndSession(BOOL ending, UINT logoff) { SetMsgHandled(FALSE); } + virtual void OnEnterSizeMove() { SetMsgHandled(FALSE); } virtual void OnExitMenuLoop(BOOL is_track_popup_menu) { SetMsgHandled(FALSE); } virtual LRESULT OnEraseBkgnd(HDC dc); virtual LRESULT OnGetObject(UINT uMsg, WPARAM w_param, LPARAM l_param); |