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

Unified Diff: chrome/browser/views/find_bar_win.cc

Issue 17042: Drag and drop: Paint issues with Find-in bar. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_win.cc
===================================================================
--- chrome/browser/views/find_bar_win.cc (revision 7533)
+++ chrome/browser/views/find_bar_win.cc (working copy)
@@ -314,6 +314,9 @@
parent_hwnd_ = new_parent;
::SetParent(GetHWND(), new_parent);
+ gfx::Rect new_pos = GetDialogPosition(gfx::Rect());
+ SetDialogPosition(new_pos);
+
// The MSDN documentation specifies that you need to manually update the
// UI state after changing the parent.
::SendMessage(new_parent,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698