| Index: ui/views/controls/table/table_view.cc
|
| diff --git a/ui/views/controls/table/table_view.cc b/ui/views/controls/table/table_view.cc
|
| index b94d487dac68786c69fb9ef460144f5c54fe223d..0b2d7355bd470b9e82ebefbd5cefbc419da872c4 100644
|
| --- a/ui/views/controls/table/table_view.cc
|
| +++ b/ui/views/controls/table/table_view.cc
|
| @@ -118,6 +118,9 @@ TableView::PaintRegion::PaintRegion()
|
|
|
| TableView::PaintRegion::~PaintRegion() {}
|
|
|
| +// static
|
| +const char TableView::kViewClassName[] = "TableView";
|
| +
|
| TableView::TableView(ui::TableModel* model,
|
| const std::vector<ui::TableColumn>& columns,
|
| TableTypes table_type,
|
| @@ -321,6 +324,10 @@ void TableView::Layout() {
|
| SetBounds(x(), y(), width, height);
|
| }
|
|
|
| +const char* TableView::GetClassName() const {
|
| + return kViewClassName;
|
| +}
|
| +
|
| gfx::Size TableView::GetPreferredSize() const {
|
| int width = 50;
|
| if (header_ && !visible_columns_.empty())
|
|
|