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

Unified Diff: chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc

Issue 10214001: WebDialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/web_dialog_gtk.cc ('k') | chrome/browser/ui/views/constrained_html_delegate_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc
===================================================================
--- chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc (revision 133969)
+++ chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc (working copy)
@@ -66,11 +66,11 @@
dialog_->OnCancel(NULL);
#elif defined(OS_CHROMEOS) && !defined(USE_AURA)
// |dialog_| deletes itself in |OnDialogClosed()|, so we need to save its
- // ConstrainedHTMLUIDelegate before that.
- ConstrainedHtmlUIDelegate* constrained_html_ui_delegate =
- dialog_->constrained_html_ui_delegate();
+ // ConstrainedWebDialogDelegate before that.
+ ConstrainedWebDialogDelegate* constrained_delegate =
+ dialog_->constrained_delegate();
dialog_->OnDialogClosed(accept ? "true" : "false");
- constrained_html_ui_delegate->OnDialogCloseFromWebUI();
+ constrained_delegate->OnDialogCloseFromWebUI();
#else
if (accept)
dialog_->GetDialogClientView()->AcceptWindow();
« no previous file with comments | « chrome/browser/ui/gtk/web_dialog_gtk.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