summaryrefslogtreecommitdiffstats
path: root/content/shell
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 20:58:16 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 20:58:16 +0000
commit65cc91d47989fb23ebe827e4dec5b555fdf6c6d1 (patch)
tree458281d3d839811c1ddad3000fb337bf39717732 /content/shell
parentf963addb468cf5d8f80466f51e12a60c70021500 (diff)
downloadchromium_src-65cc91d47989fb23ebe827e4dec5b555fdf6c6d1.zip
chromium_src-65cc91d47989fb23ebe827e4dec5b555fdf6c6d1.tar.gz
chromium_src-65cc91d47989fb23ebe827e4dec5b555fdf6c6d1.tar.bz2
Revert 104361 - Build fix.
TBR=jam BUG= TEST= Review URL: http://codereview.chromium.org/8178010 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/8172012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r--content/shell/shell_mac.mm9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/shell/shell_mac.mm b/content/shell/shell_mac.mm
index db9fc6d..b11bcb5 100644
--- a/content/shell/shell_mac.mm
+++ b/content/shell/shell_mac.mm
@@ -188,6 +188,15 @@ void Shell::PlatformResizeSubViews() {
// Not needed; subviews are bound.
}
+void Shell::InitializeTabContentsView() {
+ NSView* tcv = GetContentView();
+ NSRect frame = [[window_ contentView] bounds];
+ frame.size.height -= kURLBarHeight;
+ [tcv setFrame:frame];
+ [tcv setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
+ [[window_ contentView] addSubview:tcv];
+}
+
void Shell::ActionPerformed(int control) {
switch (control) {
case IDC_NAV_BACK: