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 @@ ...@@ -365,8 +365,8 @@
'<@(devtools_extension_api_files)', '<@(devtools_extension_api_files)',
], ],
'devtools_promises_js_files': [ 'devtools_promises_js_files': [
'front_end/promises/promisesPanel.css', 'front_end/promises/promisePane.css',
'front_end/promises/PromisesPanel.js', 'front_end/promises/PromisePane.js',
], ],
'devtools_heap_snapshot_worker_js_files': [ 'devtools_heap_snapshot_worker_js_files': [
'front_end/common/TextUtils.js', 'front_end/common/TextUtils.js',
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
* @constructor * @constructor
* @extends {WebInspector.VBox} * @extends {WebInspector.VBox}
*/ */
WebInspector.PromisesPanel = function() WebInspector.PromisePane = function()
{ {
WebInspector.VBox.call(this); WebInspector.VBox.call(this);
this.registerRequiredCSS("promises/promisesPanel.css"); this.registerRequiredCSS("promises/promisePane.css");
this.element.classList.add("promises"); this.element.classList.add("promises");
var statusBar = this.element.createChild("div", "panel-status-bar"); var statusBar = this.element.createChild("div", "panel-status-bar");
...@@ -41,7 +41,7 @@ WebInspector.PromisesPanel = function() ...@@ -41,7 +41,7 @@ WebInspector.PromisesPanel = function()
this._linkifier = new WebInspector.Linkifier(); this._linkifier = new WebInspector.Linkifier();
} }
WebInspector.PromisesPanel.prototype = { WebInspector.PromisePane.prototype = {
_recordButtonClicked: function(event) _recordButtonClicked: function(event)
{ {
var recording = !this._recordButton.toggled; var recording = !this._recordButton.toggled;
...@@ -97,7 +97,7 @@ WebInspector.PromisesPanel.prototype = { ...@@ -97,7 +97,7 @@ WebInspector.PromisesPanel.prototype = {
/** /**
* @param {?Protocol.Error} error * @param {?Protocol.Error} error
* @param {?Array.<!DebuggerAgent.PromiseDetails>} promiseData * @param {?Array.<!DebuggerAgent.PromiseDetails>} promiseData
* @this {WebInspector.PromisesPanel} * @this {WebInspector.PromisePane}
*/ */
function callback(error, promiseData) function callback(error, promiseData)
{ {
...@@ -159,7 +159,7 @@ WebInspector.PromisesPanel.prototype = { ...@@ -159,7 +159,7 @@ WebInspector.PromisesPanel.prototype = {
contextMenu.show(); contextMenu.show();
/** /**
* @this {WebInspector.PromisesPanel} * @this {WebInspector.PromisePane}
*/ */
function showPromiseInConsole() function showPromiseInConsole()
{ {
...@@ -170,7 +170,7 @@ WebInspector.PromisesPanel.prototype = { ...@@ -170,7 +170,7 @@ WebInspector.PromisesPanel.prototype = {
/** /**
* @param {?Protocol.Error} error * @param {?Protocol.Error} error
* @param {?RuntimeAgent.RemoteObject} promise * @param {?RuntimeAgent.RemoteObject} promise
* @this {WebInspector.PromisesPanel} * @this {WebInspector.PromisePane}
*/ */
function didGetPromiseById(error, promise) function didGetPromiseById(error, promise)
{ {
...@@ -198,4 +198,3 @@ WebInspector.PromisesPanel.prototype = { ...@@ -198,4 +198,3 @@ WebInspector.PromisesPanel.prototype = {
__proto__: WebInspector.VBox.prototype __proto__: WebInspector.VBox.prototype
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"name": "promises", "name": "promises",
"title": "Promises", "title": "Promises",
"order": "30", "order": "30",
"className": "WebInspector.PromisesPanel" "className": "WebInspector.PromisePane"
} }
], ],
"dependencies": [ "dependencies": [
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
], ],
"experiment": "promiseTracker", "experiment": "promiseTracker",
"scripts": [ "scripts": [
"PromisesPanel.js" "PromisePane.js"
], ],
"stylesheets": [ "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