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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js

Issue 2894083002: [DevTools] Set row background instead of the table (Closed)
Patch Set: Fixed a comment Created 3 years, 7 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/resources/DatabaseTableView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
index 27ea490bd9d7cf2580c0b1c03e89026fd3b32f0d..582edd679d78827cd384f375b5f1bbe96193cf85 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
@@ -77,6 +77,7 @@ Resources.DatabaseTableView = class extends UI.SimpleView {
this.element.removeChildren();
this._dataGrid = DataGrid.SortableDataGrid.create(columnNames, values);
+ this._dataGrid.setStriped(true);
this._visibleColumnsInput.setVisible(!!this._dataGrid);
if (!this._dataGrid) {
this._emptyWidget = new UI.EmptyWidget(Common.UIString('The ā€œ%sā€\ntable is empty.', this.tableName));

Powered by Google App Engine
This is Rietveld 408576698