OLD | NEW |
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 CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 // Removes the selected item. | 94 // Removes the selected item. |
95 void Remove(); | 95 void Remove(); |
96 | 96 |
97 // Removes all. | 97 // Removes all. |
98 void RemoveAll(); | 98 void RemoveAll(); |
99 | 99 |
100 // The model displayed in the table. | 100 // The model displayed in the table. |
101 ContentExceptionsTableModel model_; | 101 ContentExceptionsTableModel model_; |
102 | 102 |
103 // True if the user can also add off the record entries. | 103 // True if the user can also add incognito entries. |
104 bool allow_off_the_record_; | 104 bool allow_off_the_record_; |
105 | 105 |
106 views::TableView* table_; | 106 views::TableView* table_; |
107 | 107 |
108 views::NativeButton* add_button_; | 108 views::NativeButton* add_button_; |
109 views::NativeButton* edit_button_; | 109 views::NativeButton* edit_button_; |
110 views::NativeButton* remove_button_; | 110 views::NativeButton* remove_button_; |
111 views::NativeButton* remove_all_button_; | 111 views::NativeButton* remove_all_button_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(ExceptionsView); | 113 DISALLOW_COPY_AND_ASSIGN(ExceptionsView); |
114 }; | 114 }; |
115 | 115 |
116 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ | 116 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ |
117 | 117 |
OLD | NEW |