Title: [202081] trunk/Source/WebInspectorUI
Revision
202081
Author
[email protected]
Date
2016-06-14 19:52:10 -0700 (Tue, 14 Jun 2016)

Log Message

Web Inspector: Storage tab should allow hiding columns in the cookies grid
https://bugs.webkit.org/show_bug.cgi?id=158767
<rdar://problem/26803568>

Reviewed by Joseph Pecoraro.

* UserInterface/Views/CookieStorageContentView.js:
(WebInspector.CookieStorageContentView.prototype._rebuildTable):
Enable column chooser, exclude Name and Value columns.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (202080 => 202081)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-06-15 02:18:02 UTC (rev 202080)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-06-15 02:52:10 UTC (rev 202081)
@@ -1,3 +1,15 @@
+2016-06-14  Matt Baker  <[email protected]>
+
+        Web Inspector: Storage tab should allow hiding columns in the cookies grid
+        https://bugs.webkit.org/show_bug.cgi?id=158767
+        <rdar://problem/26803568>
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/CookieStorageContentView.js:
+        (WebInspector.CookieStorageContentView.prototype._rebuildTable):
+        Enable column chooser, exclude Name and Value columns.
+
 2016-06-14  Nikita Vasilyev  <[email protected]>
 
         Web Inspector: Visual Sidebar: Remove "Text -> Content" subsection

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js (202080 => 202081)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js	2016-06-15 02:18:02 UTC (rev 202080)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js	2016-06-15 02:52:10 UTC (rev 202081)
@@ -78,10 +78,12 @@
             columns.name.title = WebInspector.UIString("Name");
             columns.name.sortable = true;
             columns.name.width = "24%";
+            columns.name.locked = true;
 
             columns.value.title = WebInspector.UIString("Value");
             columns.value.sortable = true;
             columns.value.width = "34%";
+            columns.value.locked = true;
 
             columns.domain.title = WebInspector.UIString("Domain");
             columns.domain.sortable = true;
@@ -111,6 +113,7 @@
             columns.secure.width = "7%";
 
             this._dataGrid = new WebInspector.DataGrid(columns, null, this._deleteCallback.bind(this));
+            this._dataGrid.columnChooserEnabled = true;
             this._dataGrid.addEventListener(WebInspector.DataGrid.Event.SortChanged, this._sortDataGrid, this);
 
             this.addSubview(this._dataGrid);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to