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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js

Issue 2647803002: [Devtools] Fixed network to sort items as they are received. (Closed)
Patch Set: Merge branch 'GROUP_CONNECTION_ID_DEFAULT' into GROUP_SCROLL_PROPERLY Created 3 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index f39af33d47771b925fc78ca70b814cd286d6b8bf..11993304d6007bb4f6e95ec5443c95503703420d 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -40,6 +40,23 @@ Network.NetworkNode = class extends DataGrid.SortableDataGridNode {
this._parentView = parentView;
this._isHovered = false;
this._showingInitiatorChain = false;
+ this._isOdd = false;
+ }
+
+ /**
+ * @return {boolean}
+ */
+ isOdd() {
+ return this._isOdd;
dgozman 2017/01/20 22:14:40 - Let's make this a part of base class. - isStripe
allada 2017/01/20 22:35:08 Done.
+ }
+
+ /**
+ * @override
+ * @param {boolean} isOdd
+ */
+ setOdd(isOdd) {
+ this._isOdd = isOdd;
+ super.setOdd(isOdd);
}
/**

Powered by Google App Engine
This is Rietveld 408576698