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

Unified Diff: android_webview/browser/aw_javascript_dialog_manager.cc

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: android_webview/browser/aw_javascript_dialog_manager.cc
diff --git a/android_webview/browser/aw_javascript_dialog_manager.cc b/android_webview/browser/aw_javascript_dialog_manager.cc
index 60ac537fb2942317d95e48b355669450aa3a0f17..5445bc7752ebe630d770b1bee0ff418888862ae0 100644
--- a/android_webview/browser/aw_javascript_dialog_manager.cc
+++ b/android_webview/browser/aw_javascript_dialog_manager.cc
@@ -51,12 +51,9 @@ void AwJavaScriptDialogManager::RunBeforeUnloadDialog(
callback);
}
-void AwJavaScriptDialogManager::CancelActiveAndPendingDialogs(
- content::WebContents* web_contents) {
-}
-
-void AwJavaScriptDialogManager::ResetDialogState(
- content::WebContents* web_contents) {
-}
+void AwJavaScriptDialogManager::CancelDialogs(
+ content::WebContents* web_contents,
+ bool suppress_callbacks,
+ bool reset_state) {}
} // namespace android_webview
« no previous file with comments | « android_webview/browser/aw_javascript_dialog_manager.h ('k') | chrome/browser/extensions/content_script_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698