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

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: REBASE Created 6 years, 2 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/devtools.gypi ('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 96%
rename from Source/devtools/front_end/promises/PromisesPanel.js
rename to Source/devtools/front_end/promises/PromisePane.js
index cbc33e05aaccf0f558fb0b78080aa274bafa7934..e83a8fd6bade41a110b801525b05e42e970a8cd5 100644
--- a/Source/devtools/front_end/promises/PromisesPanel.js
+++ b/Source/devtools/front_end/promises/PromisePane.js
@@ -6,10 +6,10 @@
* @constructor
* @extends {WebInspector.VBox}
*/
-WebInspector.PromisesPanel = function()
+WebInspector.PromisePane = function()
{
WebInspector.VBox.call(this);
- this.registerRequiredCSS("promises/promisesPanel.css");
+ this.registerRequiredCSS("promises/promisePane.css");
this.element.classList.add("promises");
var statusBar = this.element.createChild("div", "panel-status-bar");
@@ -41,7 +41,7 @@ WebInspector.PromisesPanel = function()
this._linkifier = new WebInspector.Linkifier();
}
-WebInspector.PromisesPanel.prototype = {
+WebInspector.PromisePane.prototype = {
_recordButtonClicked: function(event)
{
var recording = !this._recordButton.toggled;
@@ -97,7 +97,7 @@ WebInspector.PromisesPanel.prototype = {
/**
* @param {?Protocol.Error} error
* @param {?Array.<!DebuggerAgent.PromiseDetails>} promiseData
- * @this {WebInspector.PromisesPanel}
+ * @this {WebInspector.PromisePane}
*/
function callback(error, promiseData)
{
@@ -159,7 +159,7 @@ WebInspector.PromisesPanel.prototype = {
contextMenu.show();
/**
- * @this {WebInspector.PromisesPanel}
+ * @this {WebInspector.PromisePane}
*/
function showPromiseInConsole()
{
@@ -170,7 +170,7 @@ WebInspector.PromisesPanel.prototype = {
/**
* @param {?Protocol.Error} error
* @param {?RuntimeAgent.RemoteObject} promise
- * @this {WebInspector.PromisesPanel}
+ * @this {WebInspector.PromisePane}
*/
function didGetPromiseById(error, promise)
{
@@ -198,4 +198,3 @@ WebInspector.PromisesPanel.prototype = {
__proto__: WebInspector.VBox.prototype
}
-
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/promises/PromisesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698