cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / resources / net_internals / loaded_status_view.js
blobd6bc2cdb132439e04a9018c7e3160f64d8114cb9
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 /**
6 * The status view at the top of the page when viewing a loaded dump file.
7 */
8 var LoadedStatusView = (function() {
9 'use strict';
11 // We inherit from DivView.
12 var superClass = DivView;
14 function LoadedStatusView() {
15 superClass.call(this, LoadedStatusView.MAIN_BOX_ID);
18 LoadedStatusView.MAIN_BOX_ID = 'loaded-status-view';
19 LoadedStatusView.DUMP_FILE_NAME_ID = 'loaded-status-view-dump-file-name';
21 LoadedStatusView.prototype = {
22 // Inherit the superclass's methods.
23 __proto__: superClass.prototype,
25 setFileName: function(fileName) {
26 $(LoadedStatusView.DUMP_FILE_NAME_ID).innerText = fileName;
30 return LoadedStatusView;
31 })();