Index: chrome/browser/resources/about_nacl.js |
diff --git a/chrome/browser/resources/about_flash.js b/chrome/browser/resources/about_nacl.js |
similarity index 64% |
copy from chrome/browser/resources/about_flash.js |
copy to chrome/browser/resources/about_nacl.js |
index 4f51d77f64cd750732370f147c8550ffadf5fe3c..344918dd731e3c48ac11be637e1938780aab1a49 100644 |
--- a/chrome/browser/resources/about_flash.js |
+++ b/chrome/browser/resources/about_nacl.js |
@@ -7,28 +7,28 @@ |
function renderTemplate(moduleListData) { |
// This is the javascript code that processes the template: |
var input = new JsEvalContext(moduleListData); |
- var output = document.getElementById('flashInfoTemplate'); |
+ var output = document.getElementById('naclInfoTemplate'); |
jstProcess(input, output); |
} |
/** |
-* Asks the C++ FlashUIDOMHandler to get details about the Flash and return |
-* the data in returnFlashInfo() (below). |
+* Asks the C++ NaClUIDOMHandler to get details about the NaCl and return |
+* the data in returnNaClInfo() (below). |
*/ |
-function requestFlashInfo() { |
- chrome.send('requestFlashInfo', []); |
+function requestNaClInfo() { |
+ chrome.send('requestNaClInfo'); |
} |
/** |
* Called by the WebUI to re-populate the page with data representing the |
-* current state of Flash. |
+* current state of NaCl. |
+* @param {Object} moduleListData Information about available modules |
*/ |
-function returnFlashInfo(moduleListData) { |
+function returnNaClInfo(moduleListData) { |
document.getElementById('loading-message').style.visibility = 'hidden'; |
document.getElementById('body-container').style.visibility = 'visible'; |
renderTemplate(moduleListData); |
} |
// Get data and have it displayed upon loading. |
-document.addEventListener('DOMContentLoaded', requestFlashInfo); |
- |
+document.addEventListener('DOMContentLoaded', requestNaClInfo); |