Index: chrome/browser/resources/new_new_tab.html |
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html |
index c8a01b5538bc1d1cf1bfb80a7432b473554f5bc9..0c0494092183ab9f7860cce5d28e690f5350cfcd 100644 |
--- a/chrome/browser/resources/new_new_tab.html |
+++ b/chrome/browser/resources/new_new_tab.html |
@@ -71,7 +71,8 @@ var Section = { |
RECENT: 4, |
// TIPS is no longer used |
SYNC: 16, |
- DEBUG: 32 |
+ DEBUG: 32, |
+ APPS: 64 |
}; |
var shownSections = templateData['shown_sections']; |
@@ -125,11 +126,6 @@ if ('mode' in hashParams) { |
<div id="main"> |
- <div id=top-bar> |
- <input type="button" id="option-button" |
- i18n-values="title:pagedisplaytooltip"> |
- </div> |
- |
<menu id="option-menu"> |
<div command="hide" section="THUMB" i18n-content="mostvisited"></div> |
<div command="hide" section="RECENT" i18n-content="recentlyclosed"></div> |
@@ -144,20 +140,25 @@ if ('mode' in hashParams) { |
</div> |
<div class="sections"> |
- <div class="section disabled" id="apps-section"></div> |
+ <div class="section" section="APPS" id="apps-section"> |
+ <h2><img src="ntp/ntp_disclosure_triangle.png" |
+ ><span i18n-content="apps"></span></h2> |
+ <div id="apps-section-content"></div> |
+ </div> |
<div id="most-visited-section" class="section" section="THUMB"> |
- <h2 i18n-content="mostvisited"></h2> |
+ <h2><img src="ntp/ntp_disclosure_triangle.png" |
+ ><span i18n-content="mostvisited"></span></h2> |
<div id="most-visited"></div> |
</div> |
<div id="recently-closed" class="section" section="RECENT"> |
- <h2 i18n-content="recentlyclosed"></h2> |
+ <h2><span i18n-content="recentlyclosed"></span></h2> |
<span class="nav"></span> |
</div> |
<div id="debug" class="section disabled" section="DEBUG"> |
- <h2>Debug</h2> |
+ <h2><span>Debug</span></h2> |
<div id="apps-launch-control"> |
Open apps in:<label |
><input type="radio" name="launch-container-type" value="" |
@@ -175,6 +176,7 @@ if ('mode' in hashParams) { |
<script> |
updateSimpleSection('recently-closed', Section.RECENT); |
updateSimpleSection('most-visited-section', Section.THUMB); |
+ updateSimpleSection('apps-section', Section.APPS); |
updateSimpleSection('debug', Section.DEBUG); |
</script> |
@@ -188,17 +190,6 @@ if ('mode' in hashParams) { |
<img id="attribution-img"> |
</div> |
- <div id="footer"> |
- <a href="chrome://history"><span class="link-color" |
- i18n-content="history"></span></a> |
- <hr> |
- <a href="chrome://downloads"><span class="link-color" |
- i18n-content="downloads"></span></a> |
- <hr> |
- <a i18n-values="href:helpurl"><span class="link-color" |
- i18n-content="help"></span></a> |
- </div> |
- |
</div> <!-- main --> |
<div class="window-menu" id="window-tooltip"></div> |