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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1628 1628
1629 if (showTimer) { 1629 if (showTimer) {
1630 var timeLine = this.contentElement.createChild('div', 'status-dialog-line time'); 1630 var timeLine = this.contentElement.createChild('div', 'status-dialog-line time');
1631 timeLine.createChild('div', 'label').textContent = Common.UIString('Time') ; 1631 timeLine.createChild('div', 'label').textContent = Common.UIString('Time') ;
1632 this._time = timeLine.createChild('div', 'content'); 1632 this._time = timeLine.createChild('div', 'content');
1633 } 1633 }
1634 var progressLine = this.contentElement.createChild('div', 'status-dialog-lin e progress'); 1634 var progressLine = this.contentElement.createChild('div', 'status-dialog-lin e progress');
1635 this._progressLabel = progressLine.createChild('div', 'label'); 1635 this._progressLabel = progressLine.createChild('div', 'label');
1636 this._progressBar = progressLine.createChild('div', 'indicator-container').c reateChild('div', 'indicator'); 1636 this._progressBar = progressLine.createChild('div', 'indicator-container').c reateChild('div', 'indicator');
1637 1637
1638 this._stopButton = createTextButton(Common.UIString('Stop'), stopCallback); 1638 this._stopButton = UI.createTextButton(Common.UIString('Stop'), stopCallback );
1639 this.contentElement.createChild('div', 'stop-button').appendChild(this._stop Button); 1639 this.contentElement.createChild('div', 'stop-button').appendChild(this._stop Button);
1640 } 1640 }
1641 1641
1642 finish() { 1642 finish() {
1643 this._stopTimer(); 1643 this._stopTimer();
1644 this._stopButton.disabled = true; 1644 this._stopButton.disabled = true;
1645 } 1645 }
1646 1646
1647 hide() { 1647 hide() {
1648 this.element.parentNode.classList.remove('tinted'); 1648 this.element.parentNode.classList.remove('tinted');
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 } 1919 }
1920 1920
1921 /** 1921 /**
1922 * @override 1922 * @override
1923 * @param {!SDK.Target} target 1923 * @param {!SDK.Target} target
1924 */ 1924 */
1925 targetRemoved(target) { 1925 targetRemoved(target) {
1926 this._targets.remove(target, true); 1926 this._targets.remove(target, true);
1927 } 1927 }
1928 }; 1928 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698