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

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

Issue 10545115: TabContentsWrapper -> TabContents, part 41. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/website_settings_popup_gtk.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/website_settings_popup_gtk.cc
diff --git a/chrome/browser/ui/gtk/website_settings_popup_gtk.cc b/chrome/browser/ui/gtk/website_settings_popup_gtk.cc
index ec74b5e3c54eda3b0921287cf254e06de17638ae..2e2d88e3f4c360ca9563da8687bf53433a0ebe53 100644
--- a/chrome/browser/ui/gtk/website_settings_popup_gtk.cc
+++ b/chrome/browser/ui/gtk/website_settings_popup_gtk.cc
@@ -17,7 +17,7 @@
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/browser/ui/gtk/gtk_theme_service.h"
#include "chrome/browser/ui/gtk/location_bar_view_gtk.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/website_settings/website_settings.h"
#include "chrome/common/url_constants.h"
#include "content/public/browser/cert_store.h"
@@ -72,23 +72,23 @@ std::string PermissionValueToString(ContentSetting value) {
// static
void WebsiteSettingsPopupGtk::Show(gfx::NativeWindow parent,
Profile* profile,
- TabContentsWrapper* tab_contents_wrapper,
+ TabContents* tab_contents,
const GURL& url,
const content::SSLStatus& ssl) {
- new WebsiteSettingsPopupGtk(parent, profile, tab_contents_wrapper, url, ssl);
+ new WebsiteSettingsPopupGtk(parent, profile, tab_contents, url, ssl);
}
WebsiteSettingsPopupGtk::WebsiteSettingsPopupGtk(
gfx::NativeWindow parent,
Profile* profile,
- TabContentsWrapper* tab_contents_wrapper,
+ TabContents* tab_contents,
const GURL& url,
const content::SSLStatus& ssl)
: parent_(parent),
contents_(NULL),
theme_service_(GtkThemeService::GetFrom(profile)),
profile_(profile),
- tab_contents_wrapper_(tab_contents_wrapper),
+ tab_contents_(tab_contents),
browser_(NULL),
cert_id_(0),
header_box_(NULL),
@@ -123,7 +123,7 @@ WebsiteSettingsPopupGtk::WebsiteSettingsPopupGtk(
}
presenter_.reset(new WebsiteSettings(this, profile,
- tab_contents_wrapper->content_settings(),
+ tab_contents->content_settings(),
url, ssl,
content::CertStore::GetInstance()));
}
@@ -499,7 +499,7 @@ void WebsiteSettingsPopupGtk::OnComboBoxShown(GtkWidget* widget,
void WebsiteSettingsPopupGtk::OnCookiesLinkClicked(GtkWidget* widget) {
new CollectedCookiesGtk(GTK_WINDOW(parent_),
- tab_contents_wrapper_);
+ tab_contents_);
bubble_->Close();
}
« no previous file with comments | « chrome/browser/ui/gtk/website_settings_popup_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698