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

Side by Side Diff: chrome/browser/resources/sync_internals/sync_node_browser.html

Issue 6531038: [Sync] Split up about:sync html files to be more manageable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed john's comments Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/sync_internals/sync_index.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 (function() {
3 function onLoad() {
4 chrome.sync.getRootNode(updateNodeBrowser);
5 }
6
7 document.addEventListener("DOMContentLoaded", onLoad, false);
8 })();
9
10 function updateNodeBrowser(nodeInfo) {
11 var nodeBrowser = document.getElementById('nodeBrowser');
12 nodeInfo.specifics = JSON.stringify(nodeInfo.specifics);
13 jstProcess(new JsEvalContext(nodeInfo), nodeBrowser);
14 }
15
16 function processNodeLink(link) {
17 var id = link.text;
18 chrome.sync.getNodeById(id, updateNodeBrowser);
19 }
20 </script>
21 <div class="desc"><h2> Node Browser </h2></div>
22 <ul id='nodeBrowser'>
23 <li>ID: <span jscontent='id'></span></li>
24 <li>Modification Time: <span jscontent='modificationTime'></span></li>
25 <li>Parent: <a jscontent='parentId' href="#" onclick="processNodeLink(this); r eturn false"></a></li>
26 <li>Is Folder: <span jscontent='isFolder'></span></li>
27 <li>Title: <span jscontent='title'></span></li>
28 <li>Type: <span jscontent='type'></span></li>
29 <li>Specifics: <span jscontent='specifics'></span></li>
30 <li>External ID: <span jscontent='externalId'></span></li>
31 <li>Predecessor: <a jscontent='predecessorId' href="#" onclick="processNodeLin k(this); return false"></a></li>
32 <li>Successor: <a jscontent='successorId' href="#" onclick="processNodeLink(th is); return false"></a></li>
33 <li>First Child: <a jscontent='firstChildId' href="#" onclick="processNodeLink (this); return false"></a></li>
34 </ul>
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_internals/sync_index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698