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

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

Issue 3767009: UI changes to support syncing foreign sessions. Changes were largely made to ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebased + comments Created 10 years, 2 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 63054)
+++ chrome/browser/resources/new_new_tab.html (working copy)
@@ -45,6 +45,7 @@
chrome.send('getMostVisited');
chrome.send('getRecentlyClosedTabs');
+chrome.send('getForeignSessions');
chrome.send('getApps');
registerCallback('mostVisitedPages');
@@ -52,6 +53,7 @@
registerCallback('syncMessageChanged');
registerCallback('getAppsCallback');
registerCallback('setShownSections');
+registerCallback('foreignSessions');
</script>
<!-- template data placeholder -->
@@ -184,6 +186,16 @@
<div class="miniview"></div>
</div>
+ <!-- Start disabled until sync is enabled and foreign sessions are
+ available. -->
+ <div id="foreign-sessions" class="section hidden disabled" section="SYNC">
+ <h2>
+ <div class="back"></div>
+ <span i18n-content="foreignsessions"></span>
+ </h2>
+ <div class="miniview"></div>
+ </div>
+
<div id="sync-status" class="section disabled">
<div>
<h3></h3>
« 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