summaryrefslogtreecommitdiffstats
path: root/chrome/views/table_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/table_view.h')
-rw-r--r--chrome/views/table_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/table_view.h b/chrome/views/table_view.h
index 6f2df47..7f8422b 100644
--- a/chrome/views/table_view.h
+++ b/chrome/views/table_view.h
@@ -405,8 +405,8 @@ class TableView : public NativeControl,
// Sometimes we may want to size the TableView to a specific width and
// height.
- void SetPreferredSize(const CSize& preferred_size);
- virtual void GetPreferredSize(CSize* out);
+ virtual gfx::Size GetPreferredSize();
+ void set_preferred_size(const gfx::Size& size) { preferred_size_ = size; }
// Is the table sorted?
bool is_sorted() const { return !sort_descriptors_.empty(); }
@@ -627,7 +627,7 @@ class TableView : public NativeControl,
HFONT custom_cell_font_;
// The preferred size of the table view.
- CSize preferred_size_;
+ gfx::Size preferred_size_;
// The offset from the top of the client area to the start of the content.
int content_offset_;