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

Unified Diff: chrome/browser/notifications/non_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/non_persistent_notification_handler.cc
diff --git a/chrome/browser/notifications/non_persistent_notification_handler.cc b/chrome/browser/notifications/non_persistent_notification_handler.cc
index 7211d461fc1474bf5383902a1bf6fd1c1aa2270a..89398124b6e60df04f52f6ef9d2f578b5d11c42e 100644
--- a/chrome/browser/notifications/non_persistent_notification_handler.cc
+++ b/chrome/browser/notifications/non_persistent_notification_handler.cc
@@ -46,3 +46,9 @@ void NonPersistentNotificationHandler::OnClick(
void NonPersistentNotificationHandler::OpenSettings(Profile* profile) {
NotificationCommon::OpenNotificationSettings(profile);
}
+
+bool NonPersistentNotificationHandler::ShouldDisplayOnFullScreen(
+ Profile* profile,
+ const std::string& origin) {
+ return NotificationCommon::ShouldDisplayOnFullScreen(profile, GURL(origin));
+}
« no previous file with comments | « chrome/browser/notifications/non_persistent_notification_handler.h ('k') | chrome/browser/notifications/notification_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698