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

Side by Side Diff: netlog_viewer/loaded_status_view.js

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Sync to head Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
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';
10
11 // We inherit from DivView.
12 var superClass = DivView;
13
14 function LoadedStatusView() {
15 superClass.call(this, LoadedStatusView.MAIN_BOX_ID);
16 }
17
18 LoadedStatusView.MAIN_BOX_ID = 'loaded-status-view';
19 LoadedStatusView.DUMP_FILE_NAME_ID = 'loaded-status-view-dump-file-name';
20
21 LoadedStatusView.prototype = {
22 // Inherit the superclass's methods.
23 __proto__: superClass.prototype,
24
25 setFileName: function(fileName) {
26 $(LoadedStatusView.DUMP_FILE_NAME_ID).innerText = fileName;
27 }
28 };
29
30 return LoadedStatusView;
31 })();
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698