Chromium Code Reviews| Index: Source/devtools/front_end/promises/PromisePane.js |
| diff --git a/Source/devtools/front_end/promises/PromisesPanel.js b/Source/devtools/front_end/promises/PromisePane.js |
| similarity index 95% |
| rename from Source/devtools/front_end/promises/PromisesPanel.js |
| rename to Source/devtools/front_end/promises/PromisePane.js |
| index 4a5af11d5c90140b37fb4d5a7c8bc0f3aac36335..cd968b6d5b393dc13d3b16d0c1c470a4ebb2cd4d 100644 |
| --- a/Source/devtools/front_end/promises/PromisesPanel.js |
| +++ b/Source/devtools/front_end/promises/PromisePane.js |
| @@ -6,13 +6,14 @@ |
| * @constructor |
| * @extends {WebInspector.VBox} |
| */ |
| -WebInspector.PromisesPanel = function() |
| +WebInspector.PromisePane = function() |
| { |
| WebInspector.VBox.call(this); |
| - this.registerRequiredCSS("promisesPanel.css"); |
| + this.registerRequiredCSS("promisePane.css"); |
| this.element.classList.add("promises"); |
| var buttonsBar = this.element.createChild("div"); |
| + buttonsBar.classList.add("promise-tracker-controls"); |
|
aandrey
2014/09/24 14:51:39
var buttonsBar = this.element.createChild("div", "
Alexandra Mikhaylova
2014/09/24 15:20:46
Done.
|
| var enableButton = buttonsBar.createChild("button"); |
| enableButton.textContent = WebInspector.UIString("Enable Promises tracking"); |
| enableButton.addEventListener("click", this._enableButtonClicked.bind(this)); |
| @@ -39,7 +40,7 @@ WebInspector.PromisesPanel = function() |
| this._linkifier = new WebInspector.Linkifier(); |
| } |
| -WebInspector.PromisesPanel.prototype = { |
| +WebInspector.PromisePane.prototype = { |
| _refreshButtonClicked: function(event) |
| { |
| this._updateData(); |
| @@ -89,7 +90,7 @@ WebInspector.PromisesPanel.prototype = { |
| /** |
| * @param {?Protocol.Error} error |
| * @param {?Array.<!DebuggerAgent.PromiseDetails>} promiseData |
| - * @this {WebInspector.PromisesPanel} |
| + * @this {WebInspector.PromisePane} |
| */ |
| function callback(error, promiseData) |
| { |