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

Unified Diff: ui/views/controls/table/table_view.h

Issue 2389803006: Revert of Fix task manager's default sizing. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ui/views/controls/scroll_view.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view.h
diff --git a/ui/views/controls/table/table_view.h b/ui/views/controls/table/table_view.h
index 9e5ac02b2073976f32ac2beecb04d65cdca077ba..3c2e954e7379ee768e3df6b6616356fd94ab4ec5 100644
--- a/ui/views/controls/table/table_view.h
+++ b/ui/views/controls/table/table_view.h
@@ -341,8 +341,12 @@
int row_height_;
- // The last width for which column sizes were calculated.
- int last_layout_width_;
+ // Width of the ScrollView last time Layout() was invoked. Used to determine
+ // when we should invoke UpdateVisibleColumnSizes().
+ int last_parent_width_;
+
+ // The width we layout to. This may differ from |last_parent_width_|.
+ int layout_width_;
// Current sort.
SortDescriptors sort_descriptors_;
« no previous file with comments | « ui/views/controls/scroll_view.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698