diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 22:34:34 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 22:34:34 +0000 |
commit | e4c7ee433ae118611cd8c204d87c17aad5c3d964 (patch) | |
tree | e52c42c6d05bb4faf66a975aa27eae76cc554995 /chrome | |
parent | 3a1d7b5857c03f1c2a465f9b41324a7a73dcdb45 (diff) | |
download | chromium_src-e4c7ee433ae118611cd8c204d87c17aad5c3d964.zip chromium_src-e4c7ee433ae118611cd8c204d87c17aad5c3d964.tar.gz chromium_src-e4c7ee433ae118611cd8c204d87c17aad5c3d964.tar.bz2 |
Add some spacing so that status area lines up on cros
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/483002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/frame/opaque_browser_frame_view.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/opaque_browser_frame_view.cc b/chrome/browser/views/frame/opaque_browser_frame_view.cc index 6d8f9ce..a31e3d3 100644 --- a/chrome/browser/views/frame/opaque_browser_frame_view.cc +++ b/chrome/browser/views/frame/opaque_browser_frame_view.cc @@ -945,8 +945,14 @@ void OpaqueBrowserFrameView::LayoutWindowControls() { close_button_->SetVisible(!is_maximized); if (is_maximized) { // Set the bounds of the minimize button so that we don't have to change - // other places that rely on the bounds. - minimize_button_->SetBounds(RightEdge(), 0, 0, 0); + // other places that rely on the bounds. Put it slightly to the right + // of the edge of the view, so that when we remove the spacing it lines + // up with the edge. + minimize_button_->SetBounds( + RightEdge() + kNewTabCaptionMaximizedSpacing, + 0, + 0, + 0); return; } #endif |