OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ |
6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 | 485 |
486 // The preferred size of the table view. | 486 // The preferred size of the table view. |
487 gfx::Size preferred_size_; | 487 gfx::Size preferred_size_; |
488 | 488 |
489 int content_offset_; | 489 int content_offset_; |
490 | 490 |
491 // Current sort. | 491 // Current sort. |
492 SortDescriptors sort_descriptors_; | 492 SortDescriptors sort_descriptors_; |
493 | 493 |
494 // Mappings used when sorted. | 494 // Mappings used when sorted. |
495 scoped_array<int> view_to_model_; | 495 scoped_ptr<int[]> view_to_model_; |
496 scoped_array<int> model_to_view_; | 496 scoped_ptr<int[]> model_to_view_; |
497 | 497 |
498 string16 alt_text_; | 498 string16 alt_text_; |
499 | 499 |
500 DISALLOW_COPY_AND_ASSIGN(TableView); | 500 DISALLOW_COPY_AND_ASSIGN(TableView); |
501 }; | 501 }; |
502 #endif // defined(OS_WIN) | 502 #endif // defined(OS_WIN) |
503 | 503 |
504 } // namespace views | 504 } // namespace views |
505 | 505 |
506 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ | 506 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_WIN_H_ |
OLD | NEW |