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

Unified Diff: Source/devtools/front_end/promises/PromisePane.js

Issue 603623002: Rename PromisesPanel to PromisePane. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/promisePane.css ('k') | Source/devtools/front_end/promises/PromisesPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Source/devtools/front_end/promisePane.css ('k') | Source/devtools/front_end/promises/PromisesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698