Index: views/controls/table/table_view_unittest.cc |
=================================================================== |
--- views/controls/table/table_view_unittest.cc (revision 89357) |
+++ views/controls/table/table_view_unittest.cc (working copy) |
@@ -141,12 +141,18 @@ |
class TableViewTest : public testing::Test, views::WidgetDelegate { |
public: |
- virtual void SetUp(); |
- virtual void TearDown(); |
+ virtual void SetUp() OVERRIDE; |
+ virtual void TearDown() OVERRIDE; |
- virtual views::View* GetContentsView() { |
+ virtual views::View* GetContentsView() OVERRIDE { |
return table_; |
} |
+ virtual views::Widget* GetWidget() OVERRIDE { |
+ return table_->GetWidget(); |
+ } |
+ virtual const views::Widget* GetWidget() const OVERRIDE { |
+ return table_->GetWidget(); |
+ } |
protected: |
// Creates the model. |
@@ -471,9 +477,15 @@ |
virtual void SetUp(); |
virtual void TearDown(); |
- virtual views::View* GetContentsView() { |
+ virtual views::View* GetContentsView() OVERRIDE { |
return table_; |
} |
+ virtual views::Widget* GetWidget() OVERRIDE { |
+ return table_->GetWidget(); |
+ } |
+ virtual const views::Widget* GetWidget() const OVERRIDE { |
+ return table_->GetWidget(); |
+ } |
// Returns the contents of a cell in the table. |
std::wstring GetCellValue(int row, int column); |