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

Issue 99153012: Exclude dev tools bounds from views dialog hosting bounds. (Closed)

Created:
6 years, 11 months ago by msw
Modified:
6 years, 11 months ago
CC:
chromium-reviews, tfarina, Mike Wittman, Rune Fevang, sky
Visibility:
Public.

Description

Exclude 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -41 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 3 chunks +22 lines, -36 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout_unittest.cc View 1 2 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Hey Ben, please take a look; thanks!
6 years, 11 months ago (2014-01-03 00:54:27 UTC) #1
Ben Goodger (Google)
lgtm
6 years, 11 months ago (2014-01-06 17:26:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/99153012/130001
6 years, 11 months ago (2014-01-06 18:12:42 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-06 21:26:46 UTC) #4
Message was sent while issue was closed.
Change committed as 243168

Powered by Google App Engine
This is Rietveld 408576698