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

Unified Diff: extensions/browser/guest_view/web_view/javascript_dialog_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: extensions/browser/guest_view/web_view/javascript_dialog_helper.h
diff --git a/extensions/browser/guest_view/web_view/javascript_dialog_helper.h b/extensions/browser/guest_view/web_view/javascript_dialog_helper.h
index 2be5bbbc4d18987e9aa8c39f7b148b7a6e76c503..851c729aaf7052ff6fb058bfce5fefdefd010ea4 100644
--- a/extensions/browser/guest_view/web_view/javascript_dialog_helper.h
+++ b/extensions/browser/guest_view/web_view/javascript_dialog_helper.h
@@ -32,9 +32,9 @@ class JavaScriptDialogHelper : public content::JavaScriptDialogManager {
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;
private:
void OnPermissionResponse(

Powered by Google App Engine
This is Rietveld 408576698