diff options
author | idana@chromium.org <idana@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 23:03:21 +0000 |
---|---|---|
committer | idana@chromium.org <idana@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 23:03:21 +0000 |
commit | 386afa320189f08ab18b453863d6cc6a758b06d1 (patch) | |
tree | 7e5ce37fdbf63daf478f2b178b2c8d2e47e150fe /chrome/browser/resources/new_new_tab.html | |
parent | d9810a805d4e4626bf2ec9dc805e5643a801d3d9 (diff) | |
download | chromium_src-386afa320189f08ab18b453863d6cc6a758b06d1.zip chromium_src-386afa320189f08ab18b453863d6cc6a758b06d1.tar.gz chromium_src-386afa320189f08ab18b453863d6cc6a758b06d1.tar.bz2 |
Made the Sync UI work in the New New tab page.
There are no significant logic changes except the addition of a link which points to the web ui.
BUG=none
Review URL: http://codereview.chromium.org/172007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.html')
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 6012544..e6ae26a 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html i18n-values="dir:textdirection;firstview:firstview;bookmarkbarattached:bookmarkbarattached;hasattribution:hasattribution;anim:anim"> +<html i18n-values="dir:textdirection;firstview:firstview;bookmarkbarattached:bookmarkbarattached;hasattribution:hasattribution;anim:anim;syncispresent:syncispresent"> <meta charset="utf-8"> <title i18n-content="title"></title> @@ -39,6 +39,8 @@ chrome.send('getRecentlyClosedTabs'); registerCallback('onShownSections'); registerCallback('mostVisitedPages'); registerCallback('recentlyClosedTabs'); +registerCallback('syncMessageChanged'); + // TODO(arv): The backend calls this function. Remove the call on the backend. function downloadsList() {} @@ -226,6 +228,12 @@ document.write('<link id="themecss" rel="stylesheet" ' + </span> </div> + <div id="sync-status"> + <h2> </h2> + <span> </span> + <span><a href=""> </a></span> + </div> + </div> <!-- main --> <div> |