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

Unified Diff: chrome/browser/ui/gtk/collected_cookies_gtk.cc

Issue 11647017: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stage changes to preserve history Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/collected_cookies_gtk.cc
diff --git a/chrome/browser/ui/gtk/collected_cookies_gtk.cc b/chrome/browser/ui/gtk/collected_cookies_gtk.cc
index c2266e328400940fbacd989827114248ba4879c4..aa4767fb5e0195397aa35fffde437aa924eff73c 100644
--- a/chrome/browser/ui/gtk/collected_cookies_gtk.cc
+++ b/chrome/browser/ui/gtk/collected_cookies_gtk.cc
@@ -455,7 +455,7 @@ void CollectedCookiesGtk::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN);
- window_->CloseConstrainedWindow();
+ window_->CloseWebContentsModalDialog();
}
void CollectedCookiesGtk::OnClose(GtkWidget* close_button) {
@@ -465,7 +465,7 @@ void CollectedCookiesGtk::OnClose(GtkWidget* close_button) {
infobar_helper->AddInfoBar(
new CollectedCookiesInfoBarDelegate(infobar_helper));
}
- window_->CloseConstrainedWindow();
+ window_->CloseWebContentsModalDialog();
}
void CollectedCookiesGtk::AddExceptions(GtkTreeSelection* selection,
« no previous file with comments | « chrome/browser/ui/constrained_window_tab_helper_unittest.cc ('k') | chrome/browser/ui/gtk/constrained_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698