Index: chrome/browser/extensions/api/notifications/extension_notification_handler.h |
diff --git a/chrome/browser/extensions/api/notifications/extension_notification_handler.h b/chrome/browser/extensions/api/notifications/extension_notification_handler.h |
index ba098bd9773571eee6aa6a7323534fc609588900..8f8b2952c74fc5d7b0cc3f766a8d90689d549bbd 100644 |
--- a/chrome/browser/extensions/api/notifications/extension_notification_handler.h |
+++ b/chrome/browser/extensions/api/notifications/extension_notification_handler.h |
@@ -13,6 +13,10 @@ class Profile; |
namespace extensions { |
+// Exposed publicly for tests. |
+// TODO(miguelg) we can probably get rid of this now. |
+extern const base::Feature kAllowFullscreenAppNotificationsFeature; |
+ |
// Handler for notifications shown by extensions. Will be created and owned by |
// the NativeNotificationDisplayService. |
class ExtensionNotificationHandler : public NotificationHandler { |
@@ -32,6 +36,8 @@ class ExtensionNotificationHandler : public NotificationHandler { |
int action_index, |
const base::NullableString16& reply) override; |
void OpenSettings(Profile* profile) override; |
+ bool ShouldDisplayOnFullScreen(Profile* profile, |
+ const std::string& origin) const override; |
protected: |
// Overriden in unit tests. |