Commit 8bab13e2 authored by thakis@chromium.org's avatar thakis@chromium.org

mac: Pin page info contents to top of bubble.

BUG=none
TEST=Click favicon. Page info bubble shouldn't jump around
after 1s but look nice instead (mostly. Now the text at the
bottom jumps now, but that looks way better than everything
but the text jumping.)


Review URL: http://codereview.chromium.org/7575025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95564 0039d316-1c4b-4281-b951-d872f2087c98
parent 5b65968b
......@@ -288,6 +288,7 @@ void ShowPageInfoBubble(gfx::NativeWindow parent,
scoped_nsobject<PageInfoContentView> contentView(
[[PageInfoContentView alloc] initWithFrame:contentFrame]);
[contentView setSubviews:subviews];
[contentView setAutoresizingMask:NSViewMinYMargin];
NSRect windowFrame = NSMakeRect(0, 0, kWindowWidth, offset);
windowFrame.size = [[[self window] contentView] convertSize:windowFrame.size
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment