diff options
Diffstat (limited to 'chrome/browser/repost_form_warning_dialog.h')
-rw-r--r-- | chrome/browser/repost_form_warning_dialog.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/repost_form_warning_dialog.h b/chrome/browser/repost_form_warning_dialog.h index 6df1278..775c934 100644 --- a/chrome/browser/repost_form_warning_dialog.h +++ b/chrome/browser/repost_form_warning_dialog.h @@ -57,6 +57,7 @@ class RepostFormWarningDialog : public ChromeViews::DialogDelegate, // ChromeViews::WindowDelegate Methods: virtual bool IsModal() const { return true; } + virtual ChromeViews::View* GetContentsView(); private: // Use RunRepostFormWarningDialog to use. @@ -74,10 +75,6 @@ class RepostFormWarningDialog : public ChromeViews::DialogDelegate, // Navigation controller, used to continue the reload. NavigationController* navigation_controller_; - // Our window. Used to close the dialog if we navigate or lose our navigation - // controller before the user makes a decision. - ChromeViews::Window* dialog_; - DISALLOW_EVIL_CONSTRUCTORS(RepostFormWarningDialog); }; |