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

Unified Diff: chrome/browser/resources/media_router/media_router_ui_interface.js

Issue 1521433002: [MediaRouter UI] Compile MR WebUI js code with Closure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 years, 11 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/media_router/media_router_ui_interface.js
diff --git a/chrome/browser/resources/media_router/media_router_ui_interface.js b/chrome/browser/resources/media_router/media_router_ui_interface.js
index 49044f88b06233d78659d621702a01f9d40abfe0..fb53eff22931c88d4b0790d2ac71ee572b1123de 100644
--- a/chrome/browser/resources/media_router/media_router_ui_interface.js
+++ b/chrome/browser/resources/media_router/media_router_ui_interface.js
@@ -50,16 +50,18 @@ cr.define('media_router.ui', function() {
/**
* Populates the WebUI with data obtained from Media Router.
*
- * @param {deviceMissingUrl: string,
- * sinks: !Array<!media_router.Sink>,
- * routes: !Array<!media_router.Route>,
- * castModes: !Array<!media_router.CastMode>,
- * wasFirstRunFlowAcknowledged: boolean} data
+ * @param {{deviceMissingUrl: string,
+ * sinks: !Array<!media_router.Sink>,
+ * routes: !Array<!media_router.Route>,
+ * castModes: !Array<!media_router.CastMode>,
+ * wasFirstRunFlowAcknowledged: boolean}} data
* Parameters in data:
* deviceMissingUrl - url to be opened on "Device missing?" clicked.
* sinks - list of sinks to be displayed.
* routes - list of routes that are associated with the sinks.
* castModes - list of available cast modes.
+ * wasFirstRunFlowAcknowledged - true if first run flow was previously
+ * acknowledged by user.
*/
function setInitialData(data) {
container.deviceMissingUrl = data['deviceMissingUrl'];
@@ -185,7 +187,7 @@ cr.define('media_router.browserApi', function() {
chrome.send('reportClickedSinkIndex', [sinkIndex]);
}
- /*
+ /**
* Reports the initial dialog view.
*
* @param {string} view
« no previous file with comments | « chrome/browser/resources/media_router/media_router_data.js ('k') | third_party/closure_compiler/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698