OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ | |
6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/content_exceptions_table_model.h" | |
10 #include "views/controls/table/table_view.h" | |
11 | |
12 // A thin wrapper around TableView that displays incognito entries in | |
13 // italics. | |
14 class ContentExceptionsTableView : public views::TableView { | |
15 public: | |
16 ContentExceptionsTableView(ContentExceptionsTableModel* model, | |
17 const std::vector<TableColumn>& columns); | |
18 | |
19 virtual ~ContentExceptionsTableView() {} | |
20 | |
21 private: | |
22 virtual bool GetCellColors(int model_row, | |
23 int column, | |
24 ItemColor* foreground, | |
25 ItemColor* background, | |
26 LOGFONT* logfont); | |
27 | |
28 ContentExceptionsTableModel* exceptions_; | |
29 }; | |
30 | |
31 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ | |
OLD | NEW |