| 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..4af5d0abca276d9353a81ce9cd05d6972888297a 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) const {
|
| + return NotificationCommon::ActiveTabIsFullScreen(profile, GURL(origin));
|
| +}
|
|
|