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

Side by Side Diff: chrome/browser/resources/extensions_ui.html

Issue 119384: Update JSTemplate to the latest version from Google Code (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « no previous file | chrome/common/jstemplate_builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html id="root"> 2 <html id="root">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title jscontent="title"></title> 5 <title jscontent="title"></title>
6 <script> 6 <script>
7 /** 7 /**
8 * This variable structure is here to document the structure that the template 8 * This variable structure is here to document the structure that the template
9 * expects to correctly populate the page. 9 * expects to correctly populate the page.
10 */ 10 */
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 }; 77 };
78 78
79 /** 79 /**
80 * Takes the |extensionsData| input argument which represents data about the 80 * Takes the |extensionsData| input argument which represents data about the
81 * currently installed/running extensions and populates the html jstemplate with 81 * currently installed/running extensions and populates the html jstemplate with
82 * that data. It expects an object structure like the above. 82 * that data. It expects an object structure like the above.
83 * @param {Object} extensionsData Detailed info about installed extensions 83 * @param {Object} extensionsData Detailed info about installed extensions
84 */ 84 */
85 function showExtensionsData(extensionsData) { 85 function showExtensionsData(extensionsData) {
86 // This is the javascript code that processes the template: 86 // This is the javascript code that processes the template:
87 var input = new JsExprContext(extensionsData); 87 var input = new JsEvalContext(extensionsData);
88 var output = document.getElementById('extensionTemplate'); 88 var output = document.getElementById('extensionTemplate');
89 jstProcess(input, output); 89 jstProcess(input, output);
90 } 90 }
91 91
92 /* 92 /*
93 * Asks the C++ ExtensionDOMHandler to get details about the installed 93 * Asks the C++ ExtensionDOMHandler to get details about the installed
94 * extensions and return detailed data about the configuration. The 94 * extensions and return detailed data about the configuration. The
95 * ExtensionDOMHandler should reply to returnExtensionsData() (below). 95 * ExtensionDOMHandler should reply to returnExtensionsData() (below).
96 */ 96 */
97 function requestExtensionsData() { 97 function requestExtensionsData() {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 <!-- TODO(aa): Debug link --> 304 <!-- TODO(aa): Debug link -->
305 </tr> 305 </tr>
306 </tbody> 306 </tbody>
307 </table> 307 </table>
308 </div> 308 </div>
309 </div> 309 </div>
310 </div> 310 </div>
311 </div> 311 </div>
312 </body> 312 </body>
313 </html> 313 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/jstemplate_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698