diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 20:44:19 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 20:44:19 +0000 |
commit | 4210fd1c641adf59480040629dfe8ffc43028637 (patch) | |
tree | 505880c3c092fef3c851ef80266410e636ab3d67 /chrome/browser/resources/new_new_tab.html | |
parent | f98880809f5a494fae92e52fa1e81c62a0a14cd8 (diff) | |
download | chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.zip chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.tar.gz chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.tar.bz2 |
Fix a bug where we would show both the apps and thumb
sections if both sections were shown under the old version
of the ntp.
Also clean up some old cruft.
BUG=55610
TEST=Upgrade Chrome from an older version to a version with
this change with at least one app installed. Should see only
apps section. Do it with no apps installed, should see only
MV section.
Review URL: http://codereview.chromium.org/3393013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.html')
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index e1c6574..e306dd8 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -67,11 +67,6 @@ registerCallback('setShownSections'); */ var Section = { THUMB: 1, - // LIST is no longer used - RECENT: 4, - // TIPS is no longer used - SYNC: 16, - DEBUG: 32, APPS: 64 }; @@ -222,7 +217,6 @@ cr.ui.decorate('button[menu]', cr.ui.MenuButton); <script> updateSimpleSection('apps', Section.APPS); updateSimpleSection('most-visited', Section.THUMB); - updateSimpleSection('recently-closed', Section.RECENT); layoutSections(); </script> </html> |