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_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ |
| 7 |
| 8 #include "chrome/browser/content_exceptions_table_model.h" |
| 9 #include "views/controls/table/table_view.h" |
| 10 |
| 11 // A thin wrapper around TableView that displays off-the-record entries in |
| 12 // italics. |
| 13 class ContentExceptionsTableView : public views::TableView { |
| 14 public: |
| 15 ContentExceptionsTableView(ContentExceptionsTableModel* model, |
| 16 const std::vector<TableColumn>& columns); |
| 17 |
| 18 virtual ~ContentExceptionsTableView() {} |
| 19 |
| 20 private: |
| 21 virtual bool GetCellColors(int model_row, |
| 22 int column, |
| 23 ItemColor* foreground, |
| 24 ItemColor* background, |
| 25 LOGFONT* logfont); |
| 26 |
| 27 ContentExceptionsTableModel* exceptions_; |
| 28 }; |
| 29 |
| 30 #endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_ |
OLD | NEW |