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

Unified Diff: chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.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: chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h
diff --git a/chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h b/chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h
index 24a5e10140344864ef30899db4585b8985c6d7d3..4a75f5bf94b4255cfe471d4263f7c1ec2d95d3ba 100644
--- a/chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h
+++ b/chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h
@@ -32,9 +32,9 @@ class JavaScriptDialogTabHelper
bool HandleJavaScriptDialog(content::WebContents* web_contents,
bool accept,
const base::string16* prompt_override) override;
- void CancelActiveAndPendingDialogs(
- content::WebContents* web_contents) override;
- void ResetDialogState(content::WebContents* web_contents) override;
+ void CancelDialogs(content::WebContents* web_contents,
+ bool suppress_callbacks,
+ bool reset_state) override;
void WebContentsDestroyed() override;
private:

Powered by Google App Engine
This is Rietveld 408576698