Chromium Code Reviews
Description* Modified.
Update the position of the find-bar when its parent window is changed. (by FindBarWin::SetParent)
* Why?
When the tab that has the find-bar is detached from the browser and becomes a new window by drag-and-drop,
the parent window of the find-bar is changed.
In this case, find-bar becomes located in the wrong position. (a little upper than its right position)
So, when the parent of the find-bar is changed, update the position of the find-bar to have the right position.
* How to reproduce the bug
1. Execute chrome browser with maximized.
2. Make one more tab using '+' button.
3. Make find-bar with 'Ctrl + F'.
3. Drag and drop this tab to be the new window.
Then, the find-bar in the newly created window is placed in the wrong place.
* Environment
MS Windows XP Professional, Chromium 1.0.156.0 (Developer Build 7480)
* BUG=3245
(Issue 3245: Drag and drop: Paint issues with Find-in bar.
http://crbug.com/3245)
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|
|||||||||||||||||||