onFileDialogSuccess(fileName) {
    /** @const */ var mode =
        this.findCastModeByType_(media_router.CastModeType.LOCAL_FILE);

    if (!mode)
      return;

    this.castModeSelected_(mode);
    this.headerText =
        loadTimeData.getStringF('castLocalMediaSelectedFileTitle', fileName);

    this.updateSelectedCastModeMenuItem_();
  }
/**
   * Sets up the LOCAL_FILE cast mode for display after a specific file has been
   * selected.
   *
   * @param {string} fileName The name of the file that has been selected.
   */
Sets up the LOCAL_FILE cast mode for display after a specific file has been
selected.

@param {string} fileName The name of the file that has been selected.
Sets up the LOCAL_FILE cast mode for display after a specific file has been selected . @param { string } fileName The name of the file that has been selected .
onFileDialogSuccess(fileName) {
     var mode =
        this.findCastModeByType_(media_router.CastModeType.LOCAL_FILE);
    if (!mode)
      return;
    this.castModeSelected_(mode);
    this.headerText =
        loadTimeData.getStringF('castLocalMediaSelectedFileTitle', fileName);
    this.updateSelectedCastModeMenuItem_();
  }
onFileDialogSuccess ( fileName ) { var mode = this . findCastModeByType_ ( media_router . CastModeType . LOCAL_FILE ) ; if ( ! mode ) return ; this . castModeSelected_ ( mode ) ; this . headerText = loadTimeData . getStringF ( 'castLocalMediaSelectedFileTitle' , fileName ) ; this . updateSelectedCastModeMenuItem_ ( ) ; }
Sets up the LOCAL_FILE cast mode for display after a specific file has been
 selected.
Sets up the LOCAL_FILE cast mode for display after a specific file has been selected .
/** @const */