DescriptionExclude dev tools bounds from views dialog hosting bounds.
Add BrowserViewLayoutDelegate::GetContentsWebView helper.
(avoids direct BrowserView usage by BrowserViewLayout)
Consider the latest dialog position *AND* size on updates.
(previously, the maximum dialog size was incorrectly ignored)
Only use the contents WebView bounds, not its container.
(the container also includes the dev tools view bounds)
Minor BrowserViewLayout cleanup and refactoring.
BUG=328798
TEST=Collected Cookies and Print Preview dialogs resize as the web tools height is manually adjusted.
R=ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243168
Patch Set 1 #Patch Set 2 : NotifyPositionRequiresUpdate on any bounds changes; cleanup. #Patch Set 3 : Hook up the unit test contents webview. #
Messages
Total messages: 4 (0 generated)
|