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

Unified Diff: chrome/browser/resources/about_flash.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/about_flash.js
diff --git a/chrome/browser/resources/about_flash.js b/chrome/browser/resources/about_flash.js
index 9734542bd234ab20db0b76303d16e3a0146ea778..5b213955d0e2a97e91867b3e3a7e5fee14b4de48 100644
--- a/chrome/browser/resources/about_flash.js
+++ b/chrome/browser/resources/about_flash.js
@@ -3,11 +3,11 @@
// found in the LICENSE file.
/**
-* Takes the |moduleListData| input argument which represents data about
-* the currently available modules and populates the html jstemplate
-* with that data. It expects an object structure like the above.
-* @param {Object} moduleListData Information about available modules
-*/
+ * Takes the |moduleListData| input argument which represents data about
+ * the currently available modules and populates the html jstemplate
+ * with that data. It expects an object structure like the above.
+ * @param {Object} moduleListData Information about available modules
+ */
function renderTemplate(moduleListData) {
// This is the javascript code that processes the template:
var input = new JsEvalContext(moduleListData);
@@ -16,18 +16,18 @@ function renderTemplate(moduleListData) {
}
/**
-* Asks the C++ FlashUIDOMHandler to get details about the Flash and return
-* the data in returnFlashInfo() (below).
-*/
+ * Asks the C++ FlashUIDOMHandler to get details about the Flash and return
+ * the data in returnFlashInfo() (below).
+ */
function requestFlashInfo() {
chrome.send('requestFlashInfo');
}
/**
-* Called by the WebUI to re-populate the page with data representing the
-* current state of Flash.
-* @param {Object} moduleListData Information about available modules.
-*/
+ * Called by the WebUI to re-populate the page with data representing the
+ * current state of Flash.
+ * @param {Object} moduleListData Information about available modules.
+ */
function returnFlashInfo(moduleListData) {
$('loading-message').style.visibility = 'hidden';
$('body-container').style.visibility = 'visible';

Powered by Google App Engine
This is Rietveld 408576698