| Index: chrome/views/table_view.h
|
| ===================================================================
|
| --- chrome/views/table_view.h (revision 3391)
|
| +++ chrome/views/table_view.h (working copy)
|
| @@ -405,8 +405,8 @@
|
|
|
| // 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 @@
|
| 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_;
|
|
|