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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js
index 841a2aa404123044c0b2f71613c2aeb8d0a2e4f1..30c5bb3b7f7788fac57e3127a2acbad7d4138099 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ShowMoreDataGridNode.js
@@ -31,7 +31,7 @@
/**
* @unrestricted
*/
-WebInspector.ShowMoreDataGridNode = class extends WebInspector.DataGridNode {
+UI.ShowMoreDataGridNode = class extends UI.DataGridNode {
/**
* @param {function(number, number)} callback
* @param {number} startPosition
@@ -48,7 +48,7 @@ WebInspector.ShowMoreDataGridNode = class extends WebInspector.DataGridNode {
this.showNext = createElement('button');
this.showNext.setAttribute('type', 'button');
this.showNext.addEventListener('click', this._showNextChunk.bind(this), false);
- this.showNext.textContent = WebInspector.UIString('Show %d before', this._chunkSize);
+ this.showNext.textContent = Common.UIString('Show %d before', this._chunkSize);
this.showAll = createElement('button');
this.showAll.setAttribute('type', 'button');
@@ -57,7 +57,7 @@ WebInspector.ShowMoreDataGridNode = class extends WebInspector.DataGridNode {
this.showLast = createElement('button');
this.showLast.setAttribute('type', 'button');
this.showLast.addEventListener('click', this._showLastChunk.bind(this), false);
- this.showLast.textContent = WebInspector.UIString('Show %d after', this._chunkSize);
+ this.showLast.textContent = Common.UIString('Show %d after', this._chunkSize);
this._updateLabels();
this.selectable = false;
@@ -84,7 +84,7 @@ WebInspector.ShowMoreDataGridNode = class extends WebInspector.DataGridNode {
this.showNext.classList.add('hidden');
this.showLast.classList.add('hidden');
}
- this.showAll.textContent = WebInspector.UIString('Show all %d', totalSize);
+ this.showAll.textContent = Common.UIString('Show all %d', totalSize);
}
/**

Powered by Google App Engine
This is Rietveld 408576698