Enable default apps by default.
Also, always show the apps section. We were only hiding it when there was zero elements when we were in our transitionary phase. To make this look less weird when there are actually zero elements, add the webstore element to the miniview and closed menus. BUG=64737 TEST=In a fresh profile, go to chrome://extensions/ -> developer mode, and click 'update now'. Go to NTP. Should see default apps. Remove all default apps. Apps section should remain. Collapse apps section by clicking heading. Should see webstore item in minimized view. Hide apps section by clicking 'x'. Should see webstore item in closed section menu on bottom of page. Review URL: http://codereview.chromium.org/5804005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69180 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/browser/dom_ui/app_launcher_handler.cc 0 additions, 4 deletionschrome/browser/dom_ui/app_launcher_handler.cc
- chrome/browser/profiles/profile_impl.cc 0 additions, 8 deletionschrome/browser/profiles/profile_impl.cc
- chrome/browser/resources/ntp/apps.js 35 additions, 18 deletionschrome/browser/resources/ntp/apps.js
- chrome/common/chrome_switches.cc 0 additions, 7 deletionschrome/common/chrome_switches.cc
- chrome/common/chrome_switches.h 0 additions, 2 deletionschrome/common/chrome_switches.h
Please register or sign in to comment