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

Unified Diff: apps/custom_launcher_page_contents.cc

Issue 2194243002: Suppress JavaScript dialogs when a tab puts itself into fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: switch fullscreen call Created 4 years, 4 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 | « apps/custom_launcher_page_contents.h ('k') | chrome/browser/background/background_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/custom_launcher_page_contents.cc
diff --git a/apps/custom_launcher_page_contents.cc b/apps/custom_launcher_page_contents.cc
index 41013626df9ab7aae6b7c2c72cb280f583b823bc..e73c57f52f7b5014dcea3fd4fdb47b1492d7aac7 100644
--- a/apps/custom_launcher_page_contents.cc
+++ b/apps/custom_launcher_page_contents.cc
@@ -84,7 +84,8 @@ bool CustomLauncherPageContents::IsPopupOrPanel(
}
bool CustomLauncherPageContents::ShouldSuppressDialogs(
- content::WebContents* source) {
+ content::WebContents* source,
+ bool before_unload) {
return true;
}
« no previous file with comments | « apps/custom_launcher_page_contents.h ('k') | chrome/browser/background/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698