Index: chrome/browser/ui/tab_modal_confirm_dialog_delegate.h |
diff --git a/chrome/browser/ui/tab_modal_confirm_dialog_delegate.h b/chrome/browser/ui/tab_modal_confirm_dialog_delegate.h |
index b4c44bc5b4b6082f28e6d8572920ff8a1ffc752a..3045adbf6e336f67c1dba8911faf0eb86d58b9db 100644 |
--- a/chrome/browser/ui/tab_modal_confirm_dialog_delegate.h |
+++ b/chrome/browser/ui/tab_modal_confirm_dialog_delegate.h |
@@ -11,7 +11,7 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
-class ConstrainedWindow; |
+class WebContentsModalDialog; |
namespace content { |
class WebContents; |
@@ -28,7 +28,7 @@ class TabModalConfirmDialogDelegate : public content::NotificationObserver { |
explicit TabModalConfirmDialogDelegate(content::WebContents* web_contents); |
virtual ~TabModalConfirmDialogDelegate(); |
- void set_window(ConstrainedWindow* window) { window_ = window; } |
+ void set_window(WebContentsModalDialog* window) { window_ = window; } |
// Accepts the confirmation prompt and calls |OnAccepted|. |
// This method is safe to call even from an |OnAccepted| or |OnCanceled| |
@@ -62,7 +62,7 @@ class TabModalConfirmDialogDelegate : public content::NotificationObserver { |
virtual const char* GetCancelButtonIcon(); |
protected: |
- ConstrainedWindow* window() { return window_; } |
+ WebContentsModalDialog* window() { return window_; } |
// content::NotificationObserver implementation. |
// Watch for a new load or a closed tab and dismiss the dialog if they occur. |
@@ -80,7 +80,7 @@ class TabModalConfirmDialogDelegate : public content::NotificationObserver { |
// Close the dialog. |
void CloseDialog(); |
- ConstrainedWindow* window_; |
+ WebContentsModalDialog* window_; |
// True iff we are in the process of closing, to avoid running callbacks |
// multiple times. |
bool closing_; |