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

Unified Diff: content/shell/browser/shell_javascript_dialog_manager.h

Issue 2412843002: Simplify the JavaScriptDialogManager. (Closed)
Patch Set: braces Created 4 years, 2 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: content/shell/browser/shell_javascript_dialog_manager.h
diff --git a/content/shell/browser/shell_javascript_dialog_manager.h b/content/shell/browser/shell_javascript_dialog_manager.h
index dd2bc6737b0e64373cb1664672a4643f0ef14926..d35f3705986f5da96a469303aa256bc00b930701 100644
--- a/content/shell/browser/shell_javascript_dialog_manager.h
+++ b/content/shell/browser/shell_javascript_dialog_manager.h
@@ -35,9 +35,9 @@ class ShellJavaScriptDialogManager : public JavaScriptDialogManager {
bool is_reload,
const DialogClosedCallback& callback) override;
- void CancelActiveAndPendingDialogs(WebContents* web_contents) override;
-
- void ResetDialogState(WebContents* web_contents) override;
+ void CancelDialogs(WebContents* web_contents,
+ bool suppress_callbacks,
+ bool reset_state) override;
// Called by the ShellJavaScriptDialog when it closes.
void DialogClosed(ShellJavaScriptDialog* dialog);
« no previous file with comments | « content/public/browser/javascript_dialog_manager.h ('k') | content/shell/browser/shell_javascript_dialog_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698