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

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

Issue 11633052: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gtk_widget_get_toplevel for GetNativeWindow Created 7 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
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698