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

Unified Diff: chrome/browser/views/options/content_exceptions_table_view.h

Issue 2858032: Display content settings applying to the current otr session only. (Closed)
Patch Set: updates Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/views/options/content_exceptions_table_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/content_exceptions_table_view.h
diff --git a/chrome/browser/views/options/content_exceptions_table_view.h b/chrome/browser/views/options/content_exceptions_table_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..57c4ab0132ce283170263e943745e586596966a6
--- /dev/null
+++ b/chrome/browser/views/options/content_exceptions_table_view.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_
+#define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_
+
+#include "chrome/browser/content_exceptions_table_model.h"
+#include "views/controls/table/table_view.h"
+
+// A thin wrapper around TableView that displays off-the-record entries in
+// italics.
+class ContentExceptionsTableView : public views::TableView {
+ public:
+ ContentExceptionsTableView(ContentExceptionsTableModel* model,
+ const std::vector<TableColumn>& columns);
+
+ virtual ~ContentExceptionsTableView() {}
+
+ private:
+ virtual bool GetCellColors(int model_row,
+ int column,
+ ItemColor* foreground,
+ ItemColor* background,
+ LOGFONT* logfont);
+
+ ContentExceptionsTableModel* exceptions_;
+};
+
+#endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_EXCEPTIONS_TABLE_VIEW_H_
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/views/options/content_exceptions_table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698