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

Unified Diff: chrome/browser/ui/views/constrained_html_delegate_gtk.cc

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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
Index: chrome/browser/ui/views/constrained_html_delegate_gtk.cc
===================================================================
--- chrome/browser/ui/views/constrained_html_delegate_gtk.cc (revision 116109)
+++ chrome/browser/ui/views/constrained_html_delegate_gtk.cc (working copy)
@@ -50,7 +50,7 @@
virtual void DeleteDelegate() OVERRIDE {
if (!closed_via_webui_)
html_delegate_->OnDialogClosed("");
- tab_container_->ChangeTabContents(NULL);
+ tab_container_->ChangeWebContents(NULL);
}
virtual bool GetBackgroundColor(GdkColor* color) OVERRIDE {
*color = ui::kGdkWhite;
@@ -114,7 +114,7 @@
tab_container_ = new TabContentsContainer;
GetWidget()->SetContentsView(tab_container_);
- tab_container_->ChangeTabContents(html_tab_contents_->tab_contents());
+ tab_container_->ChangeWebContents(html_tab_contents_->web_contents());
gfx::Size dialog_size;
html_delegate_->GetDialogSize(&dialog_size);
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/constrained_html_delegate_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698