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

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

Issue 7867007: content: Resubmit "Move constrained html windows to TabContentsWrapper." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/gtk/constrained_html_delegate_gtk.cc
diff --git a/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc b/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
index 917afd3b2ad15f8eba6e2b299d756ba7420cc407..c4701da3fe59d444fbb14e9d2e1a0969ac430283 100644
--- a/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
+++ b/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
@@ -114,11 +114,12 @@ void ConstrainedHtmlDelegateGtk::OnDialogCloseFromWebUI() {
ConstrainedWindow* ConstrainedHtmlUI::CreateConstrainedHtmlDialog(
Profile* profile,
HtmlDialogUIDelegate* delegate,
- TabContents* overshadowed) {
+ TabContentsWrapper* overshadowed) {
ConstrainedHtmlDelegateGtk* constrained_delegate =
new ConstrainedHtmlDelegateGtk(profile, delegate);
ConstrainedWindow* constrained_window =
- new ConstrainedWindowGtk(overshadowed, constrained_delegate);
+ new ConstrainedWindowGtk(overshadowed->tab_contents(),
+ constrained_delegate);
constrained_delegate->set_window(constrained_window);
return constrained_window;
}
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_html_delegate_mac.mm ('k') | chrome/browser/ui/login/login_prompt_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698