| 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_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include <set> | |
| 12 | |
| 13 #include "app/gtk_signal.h" | 11 #include "app/gtk_signal.h" |
| 14 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 15 #include "chrome/browser/gtk/gtk_tree.h" | 13 #include "chrome/browser/gtk/gtk_tree.h" |
| 16 #include "chrome/browser/remove_rows_table_model.h" | 14 #include "chrome/browser/remove_rows_table_model.h" |
| 17 #include "chrome/common/content_settings.h" | 15 #include "chrome/common/content_settings.h" |
| 18 #include "chrome/common/content_settings_types.h" | 16 #include "chrome/common/content_settings_types.h" |
| 19 | 17 |
| 20 class SimpleContentExceptionsWindow | 18 class SimpleContentExceptionsWindow |
| 21 : public gtk_tree::TableAdapter::Delegate { | 19 : public gtk_tree::TableAdapter::Delegate { |
| 22 public: | 20 public: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 72 |
| 75 // The current user selection from |treeview_|. | 73 // The current user selection from |treeview_|. |
| 76 GtkTreeSelection* treeview_selection_; | 74 GtkTreeSelection* treeview_selection_; |
| 77 | 75 |
| 78 // Buttons. | 76 // Buttons. |
| 79 GtkWidget* remove_button_; | 77 GtkWidget* remove_button_; |
| 80 GtkWidget* remove_all_button_; | 78 GtkWidget* remove_all_button_; |
| 81 }; | 79 }; |
| 82 | 80 |
| 83 #endif // CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ | 81 #endif // CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ |
| OLD | NEW |