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

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

Issue 2941743002: Revert of Deprecate native and extension notification delegates. (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/notification_common.h
diff --git a/chrome/browser/notifications/notification_common.h b/chrome/browser/notifications/notification_common.h
index 1aab89eb711babed40e5954689ec889198334178..9bf8d48a364e1c968c40b655abe8785ef19071d1 100644
--- a/chrome/browser/notifications/notification_common.h
+++ b/chrome/browser/notifications/notification_common.h
@@ -5,21 +5,9 @@
#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 GURL;
-class Profile;
// Shared functionality for both in page and persistent notification
class NotificationCommon {
@@ -47,10 +35,6 @@
// is updated.
static void OpenNotificationSettings(
content::BrowserContext* browser_context);
-
- // Whether a web notification should be displayed when chrome is in full
- // screen mode.
- static bool ShouldDisplayOnFullScreen(Profile* profile, const GURL& origin);
};
#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698