Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Side by Side Diff: views/controls/table/group_table_view.h

Issue 126184: Move TableModel out of views/ and into app/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: addressed comments, build fixes Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | views/controls/table/table_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ 5 #ifndef VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
6 #define VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ 6 #define VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
7 7
8 #include "app/table_model.h"
8 #include "base/task.h" 9 #include "base/task.h"
9 #include "views/controls/table/table_model.h"
10 #include "views/controls/table/table_view.h" 10 #include "views/controls/table/table_view.h"
11 11
12 // The GroupTableView adds grouping to the TableView class. 12 // The GroupTableView adds grouping to the TableView class.
13 // It allows to have groups of rows that act as a single row from the selection 13 // It allows to have groups of rows that act as a single row from the selection
14 // perspective. Groups are visually separated by a horizontal line. 14 // perspective. Groups are visually separated by a horizontal line.
15 15
16 namespace views { 16 namespace views {
17 17
18 struct GroupRange { 18 struct GroupRange {
19 int start; 19 int start;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Maps from model row to start of group. 75 // Maps from model row to start of group.
76 std::map<int,int> model_index_to_range_start_map_; 76 std::map<int,int> model_index_to_range_start_map_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(GroupTableView); 78 DISALLOW_COPY_AND_ASSIGN(GroupTableView);
79 }; 79 };
80 80
81 } // namespace views 81 } // namespace views
82 82
83 #endif // VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ 83 #endif // VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | views/controls/table/table_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698