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

Unified Diff: chrome/browser/ui/fast_unload_controller.cc

Issue 691823002: Add WebContents source to methods in WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « chrome/browser/ui/browser.cc ('k') | content/browser/device_sensors/device_inertial_sensor_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/fast_unload_controller.cc
diff --git a/chrome/browser/ui/fast_unload_controller.cc b/chrome/browser/ui/fast_unload_controller.cc
index 566a136f569497195bc2e42cf3ede4390cf73a65..8929457b087a01d392a79fe376d064435b9fb09d 100644
--- a/chrome/browser/ui/fast_unload_controller.cc
+++ b/chrome/browser/ui/fast_unload_controller.cc
@@ -33,7 +33,7 @@ class FastUnloadController::DetachedWebContentsDelegate
private:
// WebContentsDelegate implementation.
- bool ShouldSuppressDialogs() override {
+ bool ShouldSuppressDialogs(content::WebContents* source) override {
return true; // Return true so dialogs are suppressed.
}
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | content/browser/device_sensors/device_inertial_sensor_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698