| 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 // This is the Gtk implementation of the collected Cookies dialog. | 5 // This is the Gtk implementation of the collected Cookies dialog. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ | 7 #ifndef CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ |
| 8 #define CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ | 8 #define CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include <gtk/gtk.h> | 11 #include <gtk/gtk.h> |
| 12 | 12 |
| 13 #include "app/gtk_signal.h" | 13 #include "app/gtk_signal.h" |
| 14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 15 #include "chrome/browser/gtk/constrained_window_gtk.h" | 15 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" |
| 16 #include "chrome/browser/gtk/gtk_tree.h" | 16 #include "chrome/browser/ui/gtk/gtk_tree.h" |
| 17 #include "chrome/common/content_settings.h" | 17 #include "chrome/common/content_settings.h" |
| 18 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
| 19 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
| 20 | 20 |
| 21 class CookiesTreeModel; | 21 class CookiesTreeModel; |
| 22 | 22 |
| 23 // CollectedCookiesGtk is a dialog that displays the allowed and blocked | 23 // CollectedCookiesGtk is a dialog that displays the allowed and blocked |
| 24 // cookies of the current tab contents. To display the dialog, invoke | 24 // cookies of the current tab contents. To display the dialog, invoke |
| 25 // ShowCollectedCookiesDialog() on the delegate of the tab contents. | 25 // ShowCollectedCookiesDialog() on the delegate of the tab contents. |
| 26 | 26 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // The Cookies Table model. | 99 // The Cookies Table model. |
| 100 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; | 100 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; |
| 101 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; | 101 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; |
| 102 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_; | 102 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_; |
| 103 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_; | 103 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk); | 105 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ | 108 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ |
| OLD | NEW |