Chromium Code Reviews| Index: chrome/browser/resources/new_new_tab.js |
| diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js |
| index a3b2aa6c63384bb4cc763abe76acd6e0eaa37e0a..5245884b2e9eb6a8341c458426acdff84e880726 100644 |
| --- a/chrome/browser/resources/new_new_tab.js |
| +++ b/chrome/browser/resources/new_new_tab.js |
| @@ -73,8 +73,13 @@ function addClosedMenuFooter(menu, sectionId, mask, opt_section) { |
| var span = document.createElement('span'); |
| var a = span.appendChild(document.createElement('a')); |
| a.href = ''; |
| - a.textContent = |
| - localStrings.getString(getSectionMenuButtonTextId(sectionId)); |
| + if (cr.isChromeOS) { |
| + a.textContent = |
| + localStrings.getString('expandMenu'); |
|
Aaron Boodman
2010/11/30 18:38:32
This can fit on the previous line.
xiyuan
2010/11/30 19:07:58
Done.
|
| + } else { |
| + a.textContent = |
| + localStrings.getString(getSectionMenuButtonTextId(sectionId)); |
| + } |
| a.className = 'item'; |
| a.addEventListener( |
| 'click', |
| @@ -433,6 +438,8 @@ function layoutSections() { |
| if (section == expandedSection) |
| y += expandedSectionHeight; |
| } |
| + if (cr.isChromeOS) |
| + $('closed-sections-bar').style.top = y + 'px'; |
| updateAttributionDisplay(y); |
| } |