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

Unified Diff: content/browser/web_contents/web_contents_impl_browsertest.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: content/browser/web_contents/web_contents_impl_browsertest.cc
diff --git a/content/browser/web_contents/web_contents_impl_browsertest.cc b/content/browser/web_contents/web_contents_impl_browsertest.cc
index 21113083f7e9a29aaf74aa79d0f5135efb96f42c..436d71b0f63b83de7a7a73e8a382f73f127b8311 100644
--- a/content/browser/web_contents/web_contents_impl_browsertest.cc
+++ b/content/browser/web_contents/web_contents_impl_browsertest.cc
@@ -989,9 +989,9 @@ class TestJavaScriptDialogManager : public JavaScriptDialogManager,
return true;
}
- void CancelActiveAndPendingDialogs(WebContents* web_contents) override {}
-
- void ResetDialogState(WebContents* web_contents) override {}
+ void CancelDialogs(WebContents* web_contents,
+ bool suppress_callbacks,
+ bool reset_state) override {}
private:
std::string last_message_;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698