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

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

Issue 11827007: Couple of tweaks for tables: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment Created 7 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: ui/views/controls/table/table_view_views.h
diff --git a/ui/views/controls/table/table_view_views.h b/ui/views/controls/table/table_view_views.h
index e6bf96746c56fa9dff3023f671b95264fb30c0bb..bab6e6a3a8c93ecc25b968aa82a89f2f035b0731 100644
--- a/ui/views/controls/table/table_view_views.h
+++ b/ui/views/controls/table/table_view_views.h
@@ -143,6 +143,13 @@ class VIEWS_EXPORT TableView
void SetColumnVisibility(int id, bool is_visible);
bool IsColumnVisible(int id) const;
+ // Adds the specified column. |col| is not made visible.
+ void AddColumn(const ui::TableColumn& col);
+
+ // Returns true if the column with the specified id is known (either visible
+ // or not).
+ bool HasColumn(int id) const;
+
// TODO(sky): rename to set_observer().
void SetObserver(TableViewObserver* observer) {
table_view_observer_ = observer;

Powered by Google App Engine
This is Rietveld 408576698