| OLD | NEW |
| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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() { |
| 98 chrome.send("requestExtensionsData", []); | 98 chrome.send("requestExtensionsData", []); |
| 99 } | 99 } |
| 100 |
| 101 // Used for observing function of the backend datasource for this page by |
| 102 // tests. |
| 103 window.domui_responded_ = false; |
| 104 |
| 100 function returnExtensionsData(extensionsData) { | 105 function returnExtensionsData(extensionsData) { |
| 106 window.domui_responded_ = true; |
| 101 showExtensionsData(extensionsData); | 107 showExtensionsData(extensionsData); |
| 102 | 108 |
| 103 // We are currently hiding the body because the first call to jstProcess() to | 109 // We are currently hiding the body because the first call to jstProcess() to |
| 104 // insert localized strings happens prior to this call which runs during the | 110 // insert localized strings happens prior to this call which runs during the |
| 105 // body.onload event, causes a flickering. | 111 // body.onload event, causes a flickering. |
| 106 document.getElementById('body-container').style.display = "inline"; | 112 document.getElementById('body-container').style.display = "inline"; |
| 107 } | 113 } |
| 108 | 114 |
| 109 /** | 115 /** |
| 110 * Tell the C++ ExtensionDOMHandler to inspect the page detailed in |viewData|. | 116 * Tell the C++ ExtensionDOMHandler to inspect the page detailed in |viewData|. |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 <!-- TODO(aa): Debug link --> | 310 <!-- TODO(aa): Debug link --> |
| 305 </tr> | 311 </tr> |
| 306 </tbody> | 312 </tbody> |
| 307 </table> | 313 </table> |
| 308 </div> | 314 </div> |
| 309 </div> | 315 </div> |
| 310 </div> | 316 </div> |
| 311 </div> | 317 </div> |
| 312 </body> | 318 </body> |
| 313 </html> | 319 </html> |
| OLD | NEW |