// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview * Class representing the host-list portion of the home screen UI. */ 'use strict'; /** @suppress {duplicate} */ var remoting = remoting || {}; /** * Create a host list consisting of the specified HTML elements, which should * have a common parent that contains only host-list UI as it will be hidden * if the host-list is empty. * * @constructor * @param {Element} table The HTML
to contain host-list. * @param {Element} noHosts The HTML
containing the "no hosts" message. * @param {Element} errorMsg The HTML
to display error messages. * @param {Element} errorButton The HTML