DescriptionFix html select tag on 2nd display.
- Translate the bounds_in_screen in InitAsPopup to parent
coordinates.
- Don't remove observer if the browser window has been reparented.
This can happen when a browser is moved to different display.
I also moved Add/RemoveObserver to the WebContentsView's
ctor/dtor to make it easy to follow which windows it is
observing.
There is still one issue where this doesn't work IF the web content view's
parent isn't toplevel window. Only case I know of is constrained html dialog,
which doesn't have html select tag, so I'll leave it for now.
I'll address it when necessary.
BUG=161509
TEST=manual. see bug for repro step.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169204
Patch Set 1 #Patch Set 2 : remove comment #
Total comments: 1
Messages
Total messages: 10 (0 generated)
|