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

Unified Diff: trunk/src/chrome/browser/ui/tab_modal_confirm_dialog.h

Issue 21372006: Revert 212329 "Reland "Close web contents modal dialogs on conte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/chrome/browser/ui/tab_modal_confirm_dialog.h
===================================================================
--- trunk/src/chrome/browser/ui/tab_modal_confirm_dialog.h (revision 214772)
+++ trunk/src/chrome/browser/ui/tab_modal_confirm_dialog.h (working copy)
@@ -12,7 +12,7 @@
}
// Base class for the tab modal confirm dialog.
-class TabModalConfirmDialog : public TabModalConfirmDialogOperationsDelegate {
+class TabModalConfirmDialog : public TabModalConfirmDialogCloseDelegate {
public:
// Platform specific factory function. This function will automatically show
// the dialog.
@@ -24,11 +24,9 @@
// Cancels the dialog.
virtual void CancelTabModalDialog() = 0;
- // TabModalConfirmDialogOperationsDelegate:
+ // TabModalConfirmDialogCloseDelegate:
// Closes the dialog.
virtual void CloseDialog() = 0;
- // Prevents the dialog from closing on WebContents load start.
- virtual void SetPreventCloseOnLoadStart(bool prevent) = 0;
protected:
virtual ~TabModalConfirmDialog() {}

Powered by Google App Engine
This is Rietveld 408576698