Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3271)

Unified Diff: chrome/browser/resources/new_new_tab.html

Issue 3033032: Remove tips from NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/new_new_tab.css ('k') | chrome/browser/resources/new_new_tab.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.html
===================================================================
--- chrome/browser/resources/new_new_tab.html (revision 53888)
+++ chrome/browser/resources/new_new_tab.html (working copy)
@@ -44,14 +44,11 @@
chrome.send('getMostVisited');
chrome.send('getRecentlyClosedTabs');
-chrome.send('getTips');
chrome.send('getApps');
registerCallback('mostVisitedPages');
registerCallback('recentlyClosedTabs');
registerCallback('syncMessageChanged');
-registerCallback('tips');
-registerCallback('onHomePageSet');
registerCallback('getAppsCallback');
registerCallback('setShownSections');
@@ -72,7 +69,7 @@
THUMB: 1,
// LIST is no longer used
RECENT: 4,
- TIPS: 8,
+ // TIPS is no longer used
SYNC: 16,
DEBUG: 32
};
@@ -129,13 +126,11 @@
<div id="main">
<div id=top-bar>
- <div id="tip-line" class="section" section="TIPS"></div>
<input type="button" id="option-button"
i18n-values="title:pagedisplaytooltip">
</div>
<menu id="option-menu">
- <div command="hide" section="TIPS" i18n-content="tips"></div>
<div command="hide" section="THUMB" i18n-content="mostvisited"></div>
<div command="hide" section="RECENT" i18n-content="recentlyclosed"></div>
<hr>
@@ -178,7 +173,6 @@
</div>
<script>
- updateSimpleSection('tip-line', Section.TIPS);
updateSimpleSection('recently-closed', Section.RECENT);
updateSimpleSection('most-visited-section', Section.THUMB);
updateSimpleSection('debug', Section.DEBUG);
« no previous file with comments | « chrome/browser/resources/new_new_tab.css ('k') | chrome/browser/resources/new_new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698