Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: chrome/browser/ui/gtk/collected_cookies_gtk.h

Issue 128343002: [Gtk] Hook up the "Remove" button in the collected cookies dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/collected_cookies_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void ShowSelectionInfo(GtkTreeSelection* selection, 66 void ShowSelectionInfo(GtkTreeSelection* selection,
67 gtk_tree::TreeAdapter* adapter); 67 gtk_tree::TreeAdapter* adapter);
68 68
69 69
70 // Callbacks. 70 // Callbacks.
71 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnTreeViewRowExpanded, 71 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnTreeViewRowExpanded,
72 GtkTreeIter*, GtkTreePath*); 72 GtkTreeIter*, GtkTreePath*);
73 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnTreeViewSelectionChange); 73 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnTreeViewSelectionChange);
74 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnClose); 74 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnClose);
75 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnBlockAllowedButtonClicked); 75 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnBlockAllowedButtonClicked);
76 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnDeleteAllowedButtonClicked);
76 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnAllowBlockedButtonClicked); 77 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnAllowBlockedButtonClicked);
77 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, 78 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void,
78 OnForSessionBlockedButtonClicked); 79 OnForSessionBlockedButtonClicked);
79 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnSwitchPage, 80 CHROMEGTK_CALLBACK_2(CollectedCookiesGtk, void, OnSwitchPage,
80 gpointer, guint); 81 gpointer, guint);
81 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnDestroy); 82 CHROMEGTK_CALLBACK_0(CollectedCookiesGtk, void, OnDestroy);
82 83
83 content::NotificationRegistrar registrar_; 84 content::NotificationRegistrar registrar_;
84 85
85 GtkWidget* window_; 86 GtkWidget* window_;
86 87
87 // Widgets of the dialog. 88 // Widgets of the dialog.
88 GtkWidget* dialog_; 89 GtkWidget* dialog_;
89 90
90 GtkWidget* allowed_description_label_; 91 GtkWidget* allowed_description_label_;
91 GtkWidget* blocked_description_label_; 92 GtkWidget* blocked_description_label_;
92 93
93 GtkWidget* block_allowed_cookie_button_; 94 GtkWidget* block_allowed_cookie_button_;
95 GtkWidget* delete_allowed_cookie_button_;
94 96
95 GtkWidget* allow_blocked_cookie_button_; 97 GtkWidget* allow_blocked_cookie_button_;
96 GtkWidget* for_session_blocked_cookie_button_; 98 GtkWidget* for_session_blocked_cookie_button_;
97 GtkWidget* close_button_; 99 GtkWidget* close_button_;
98 100
99 // The table listing the cookies. 101 // The table listing the cookies.
100 GtkWidget* notebook_; 102 GtkWidget* notebook_;
101 GtkWidget* allowed_tree_; 103 GtkWidget* allowed_tree_;
102 GtkWidget* blocked_tree_; 104 GtkWidget* blocked_tree_;
103 105
(...skipping 15 matching lines...) Expand all
119 // The Cookies Table model. 121 // The Cookies Table model.
120 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; 122 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_;
121 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; 123 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_;
122 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_; 124 scoped_ptr<gtk_tree::TreeAdapter> allowed_cookies_tree_adapter_;
123 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_; 125 scoped_ptr<gtk_tree::TreeAdapter> blocked_cookies_tree_adapter_;
124 126
125 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk); 127 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesGtk);
126 }; 128 };
127 129
128 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_ 130 #endif // CHROME_BROWSER_UI_GTK_COLLECTED_COOKIES_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/collected_cookies_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698