OLD | NEW |
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 #include "views/controls/table/group_table_view.h" | 5 #include "views/controls/table/group_table_view.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "gfx/canvas.h" | 10 #include "ui/gfx/canvas.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 static const COLORREF kSeparatorLineColor = RGB(208, 208, 208); | 14 static const COLORREF kSeparatorLineColor = RGB(208, 208, 208); |
15 static const int kSeparatorLineThickness = 1; | 15 static const int kSeparatorLineThickness = 1; |
16 | 16 |
17 const char GroupTableView::kViewClassName[] = "views/GroupTableView"; | 17 const char GroupTableView::kViewClassName[] = "views/GroupTableView"; |
18 | 18 |
19 GroupTableView::GroupTableView(GroupTableModel* model, | 19 GroupTableView::GroupTableView(GroupTableModel* model, |
20 const std::vector<TableColumn>& columns, | 20 const std::vector<TableColumn>& columns, |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 } | 191 } |
192 SelectObject(hdc, hPenOld); | 192 SelectObject(hdc, hPenOld); |
193 DeleteObject(hPen); | 193 DeleteObject(hPen); |
194 } | 194 } |
195 | 195 |
196 std::string GroupTableView::GetClassName() const { | 196 std::string GroupTableView::GetClassName() const { |
197 return kViewClassName; | 197 return kViewClassName; |
198 } | 198 } |
199 | 199 |
200 } // namespace views | 200 } // namespace views |
OLD | NEW |