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

Unified Diff: chrome/browser/notifications/persistent_notification_handler.cc

Issue 2938883002: Reland reverted patch once the webkit tests that were failing are (Closed)
Patch Set: Created 3 years, 6 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: chrome/browser/notifications/persistent_notification_handler.cc
diff --git a/chrome/browser/notifications/persistent_notification_handler.cc b/chrome/browser/notifications/persistent_notification_handler.cc
index 47cd8b17ed42e8bf8cf3198f8a34b0069e902eea..8094723f318a2a566aff0caeb9f3c40eac732bdc 100644
--- a/chrome/browser/notifications/persistent_notification_handler.cc
+++ b/chrome/browser/notifications/persistent_notification_handler.cc
@@ -45,3 +45,9 @@ void PersistentNotificationHandler::OnClick(
void PersistentNotificationHandler::OpenSettings(Profile* profile) {
NotificationCommon::OpenNotificationSettings(profile);
}
+
+bool PersistentNotificationHandler::ShouldDisplayOnFullScreen(
+ Profile* profile,
+ const std::string& origin) {
+ return NotificationCommon::ShouldDisplayOnFullScreen(profile, GURL(origin));
+}

Powered by Google App Engine
This is Rietveld 408576698