OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 9 |
10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnClose); | 80 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnClose); |
81 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnBlockAllowedButtonClicked); | 81 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnBlockAllowedButtonClicked); |
82 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnAllowBlockedButtonClicked); | 82 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnAllowBlockedButtonClicked); |
83 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, | 83 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, |
84 OnForSessionBlockedButtonClicked); | 84 OnForSessionBlockedButtonClicked); |
85 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnSwitchPage, | 85 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnSwitchPage, |
86 gpointer, guint); | 86 gpointer, guint); |
87 | 87 |
88 content::NotificationRegistrar registrar_; | 88 content::NotificationRegistrar registrar_; |
89 | 89 |
90 ConstrainedWindow* window_; | 90 WebContentsModalDialog* window_; |
91 | 91 |
92 // Widgets of the dialog. | 92 // Widgets of the dialog. |
93 GtkWidget* dialog_; | 93 GtkWidget* dialog_; |
94 | 94 |
95 GtkWidget* allowed_description_label_; | 95 GtkWidget* allowed_description_label_; |
96 GtkWidget* blocked_description_label_; | 96 GtkWidget* blocked_description_label_; |
97 | 97 |
98 GtkWidget* block_allowed_cookie_button_; | 98 GtkWidget* block_allowed_cookie_button_; |
99 | 99 |
100 GtkWidget* allow_blocked_cookie_button_; | 100 GtkWidget* allow_blocked_cookie_button_; |
(...skipping 23 matching lines...) Expand all Loading... |
124 // The Cookies Table model. | 124 // The Cookies Table model. |
125 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; | 125 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; |
126 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; | 126 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; |
127 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_; | 127 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_; |
128 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_; | 128 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk); | 130 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk); |
131 }; | 131 }; |
132 | 132 |
133 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ | 133 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ |
OLD | NEW |