| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 HostContentSettingsMap* off_the_record_map, | 30 HostContentSettingsMap* off_the_record_map, |
| 31 ContentSettingsType content_type); | 31 ContentSettingsType content_type); |
| 32 | 32 |
| 33 ~ContentExceptionsWindowGtk(); | 33 ~ContentExceptionsWindowGtk(); |
| 34 | 34 |
| 35 // gtk_tree::TableAdapter::Delegate implementation: | 35 // gtk_tree::TableAdapter::Delegate implementation: |
| 36 virtual void SetColumnValues(int row, GtkTreeIter* iter); | 36 virtual void SetColumnValues(int row, GtkTreeIter* iter); |
| 37 | 37 |
| 38 // ContentExceptionEditor::Delegate implementation: | 38 // ContentExceptionEditor::Delegate implementation: |
| 39 virtual void AcceptExceptionEdit( | 39 virtual void AcceptExceptionEdit( |
| 40 const HostContentSettingsMap::Pattern& pattern, | 40 const ContentSettingsPattern& pattern, |
| 41 ContentSetting setting, | 41 ContentSetting setting, |
| 42 bool is_off_the_record, | 42 bool is_off_the_record, |
| 43 int index, | 43 int index, |
| 44 bool is_new); | 44 bool is_new); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 // Column ids for |list_store_|. | 47 // Column ids for |list_store_|. |
| 48 enum { | 48 enum { |
| 49 COL_PATTERN, | 49 COL_PATTERN, |
| 50 COL_ACTION, | 50 COL_ACTION, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 // Buttons. | 112 // Buttons. |
| 113 GtkWidget* edit_button_; | 113 GtkWidget* edit_button_; |
| 114 GtkWidget* remove_button_; | 114 GtkWidget* remove_button_; |
| 115 GtkWidget* remove_all_button_; | 115 GtkWidget* remove_all_button_; |
| 116 | 116 |
| 117 friend class ContentExceptionsWindowGtkUnittest; | 117 friend class ContentExceptionsWindowGtkUnittest; |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ | 120 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ |
| OLD | NEW |