OLD | NEW |
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 Loading... |
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 Loading... |
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 }; |
OLD | NEW |