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; |