Rename PromisesPanel to PromisePane.

BUG=348919

Review URL: https://codereview.chromium.org/603623002

git-svn-id: svn://svn.chromium.org/blink/trunk@184365 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent bb6707be
......@@ -365,8 +365,8 @@
'<@(devtools_extension_api_files)',
],
'devtools_promises_js_files': [
'front_end/promises/promisesPanel.css',
'front_end/promises/PromisesPanel.js',
'front_end/promises/promisePane.css',
'front_end/promises/PromisePane.js',
],
'devtools_heap_snapshot_worker_js_files': [
'front_end/common/TextUtils.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
}
......@@ -5,7 +5,7 @@
"name": "promises",
"title": "Promises",
"order": "30",
"className": "WebInspector.PromisesPanel"
"className": "WebInspector.PromisePane"
}
],
"dependencies": [
......@@ -14,9 +14,9 @@
],
"experiment": "promiseTracker",
"scripts": [
"PromisesPanel.js"
"PromisePane.js"
],
"stylesheets": [
"promisesPanel.css"
"promisePane.css"
]
}
\ No newline at end of file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment