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