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

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

Issue 8655001: views: Move table and tree directories to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude native_widget_win_unittest too Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
6 #define VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/base/models/table_model.h" 10 #include "ui/base/models/table_model.h"
11 #include "views/controls/table/table_view.h" 11 #include "ui/views/controls/table/table_view.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 struct GroupRange { 15 struct GroupRange {
16 int start; 16 int start;
17 int length; 17 int length;
18 }; 18 };
19 19
20 // The model driving the GroupTableView. 20 // The model driving the GroupTableView.
21 class GroupTableModel : public ui::TableModel { 21 class GroupTableModel : public ui::TableModel {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 base::WeakPtrFactory<GroupTableView> sync_selection_factory_; 77 base::WeakPtrFactory<GroupTableView> sync_selection_factory_;
78 78
79 // Maps from model row to start of group. 79 // Maps from model row to start of group.
80 std::map<int,int> model_index_to_range_start_map_; 80 std::map<int,int> model_index_to_range_start_map_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(GroupTableView); 82 DISALLOW_COPY_AND_ASSIGN(GroupTableView);
83 }; 83 };
84 84
85 } // namespace views 85 } // namespace views
86 86
87 #endif // VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ 87 #endif // UI_VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | ui/views/controls/table/group_table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698