diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 18:57:21 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 18:57:21 +0000 |
commit | 8c548de9006110ba1d7e47d767743011363a825a (patch) | |
tree | 8447a6e76a789c6e5d8518479eac38af268c1eb8 /chrome/chrome_nibs.gypi | |
parent | 684edea7fa5cdc5d45cf7f153cf2aeae125e7226 (diff) | |
download | chromium_src-8c548de9006110ba1d7e47d767743011363a825a.zip chromium_src-8c548de9006110ba1d7e47d767743011363a825a.tar.gz chromium_src-8c548de9006110ba1d7e47d767743011363a825a.tar.bz2 |
Alternate NTP: Allow custom preview height
The custom NTP page was not being shown on Mac. The problem was that PreviewableContentsController didn't allow the preview height to be customized.
I've updated the Mac implementation to respect the custom height similar to the View's implementation in contents_container.cc.
As a part of this change I've also removed the preview xib file. The xib just contained two nested NSViews. This was fairly simple to recreate in code.
Screenshot: https://code.google.com/p/chromium/issues/detail?id=162695#c4
BUG=162695
Review URL: https://chromiumcodereview.appspot.com/11450018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_nibs.gypi')
-rw-r--r-- | chrome/chrome_nibs.gypi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/chrome_nibs.gypi b/chrome/chrome_nibs.gypi index 647cf65..ec9e56f 100644 --- a/chrome/chrome_nibs.gypi +++ b/chrome/chrome_nibs.gypi @@ -62,7 +62,6 @@ 'app/nibs/InfoBarContainer.xib', 'app/nibs/Notification.xib', 'app/nibs/Panel.xib', - 'app/nibs/PreviewableContents.xib', 'app/nibs/TabView.xib', ], # mac_untranslated_xibs 'mac_all_xibs': [ |