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

Unified Diff: content/common/notification_constants.h

Issue 1901133002: Move the notification constants to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « content/common/OWNERS ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/notification_constants.h
diff --git a/content/common/notification_constants.h b/content/common/notification_constants.h
deleted file mode 100644
index 2573a6eb8f8c76c6947609741d11e4b322bad515..0000000000000000000000000000000000000000
--- a/content/common/notification_constants.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_
-#define CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_
-
-#include <stddef.h>
-
-namespace content {
-
-// Maximum number of actions on a Platform Notification.
-static const size_t kPlatformNotificationMaxActions = 2;
-
-// The maximum reasonable notification icon size, scaled from dip units to
-// pixels using the largest supported scaling factor.
-static const int kPlatformNotificationMaxIconSizePx = 320; // 80 dip * 4
-
-// The maximum reasonable badge size, scaled from dip units to pixels using the
-// largest supported scaling factor.
-static const int kPlatformNotificationMaxBadgeSizePx = 96; // 24 dip * 4
-
-// The maximum reasonable action icon size, scaled from dip units to
-// pixels using the largest supported scaling factor.
-static const int kPlatformNotificationMaxActionIconSizePx = 128; // 32 dip * 4
-
-} // namespace content
-
-#endif // CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_
« no previous file with comments | « content/common/OWNERS ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698