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

Unified Diff: chrome/browser/notifications/notification_common.h

Issue 2921263002: Remove many delegates, let's see what breaks
Patch Set: compile 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/notification_common.h
diff --git a/chrome/browser/notifications/notification_common.h b/chrome/browser/notifications/notification_common.h
index 9bf8d48a364e1c968c40b655abe8785ef19071d1..e625d4d9af89992d982fdceff73042a2003fed44 100644
--- a/chrome/browser/notifications/notification_common.h
+++ b/chrome/browser/notifications/notification_common.h
@@ -5,10 +5,22 @@
#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_
#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_
+#include "base/feature_list.h"
+
+namespace features {
+
+// TODO(miguelg) We can probably get rid of this altogether.
+extern const base::Feature kAllowFullscreenWebNotificationsFeature;
+
+} // namespace features
+
namespace content {
class BrowserContext;
} // namespace content
+class Profile;
+class GURL;
+
// Shared functionality for both in page and persistent notification
class NotificationCommon {
public:
@@ -35,6 +47,8 @@ class NotificationCommon {
// is updated.
static void OpenNotificationSettings(
content::BrowserContext* browser_context);
+
+ static bool ActiveTabIsFullScreen(Profile* profile, const GURL& origin);
};
#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698