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

Unified Diff: chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h

Issue 17500003: Close web contents modal dialogs on content load start (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compilation fixes, change "inhibit" variable names Created 7 years, 5 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/webui/tab_modal_confirm_dialog_webui.h
diff --git a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
index c77ac743072eb5e91ca6a6fc2f12ba5271198f1f..592a9f2167e78af6d94674047bc186903b7067ff 100644
--- a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
+++ b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
@@ -59,6 +59,9 @@ class TabModalConfirmDialogWebUI : public TabModalConfirmDialog,
// TabModalConfirmDialogCloseDelegate:
virtual void CloseDialog() OVERRIDE;
+ virtual void SetPreventCloseOnLoadStart(bool prevent) OVERRIDE;
+
+ content::WebContents* web_contents_;
scoped_ptr<TabModalConfirmDialogDelegate> delegate_;

Powered by Google App Engine
This is Rietveld 408576698