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

Unified Diff: android_webview/browser/aw_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
« no previous file with comments | « no previous file | android_webview/browser/aw_javascript_dialog_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_javascript_dialog_manager.h
diff --git a/android_webview/browser/aw_javascript_dialog_manager.h b/android_webview/browser/aw_javascript_dialog_manager.h
index a553dd8a78dc8fb1cf13fbcd8c00313fade2747b..0118578f02acc0459bd710b62ddb81757ac22866 100644
--- a/android_webview/browser/aw_javascript_dialog_manager.h
+++ b/android_webview/browser/aw_javascript_dialog_manager.h
@@ -26,9 +26,9 @@ class AwJavaScriptDialogManager : public content::JavaScriptDialogManager {
void RunBeforeUnloadDialog(content::WebContents* web_contents,
bool is_reload,
const DialogClosedCallback& callback) 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:
DISALLOW_COPY_AND_ASSIGN(AwJavaScriptDialogManager);
« no previous file with comments | « no previous file | android_webview/browser/aw_javascript_dialog_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698