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

Unified Diff: content/common/notification_constants.h

Issue 1267673003: Plumb Blink notification actions to button UI on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix size_t Created 5 years, 4 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: content/common/notification_constants.h
diff --git a/content/common/notification_constants.h b/content/common/notification_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b3f4f1a30c763dba3963e281eb473cee7583068
--- /dev/null
+++ b/content/common/notification_constants.h
@@ -0,0 +1,15 @@
+// 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_
+
+namespace content {
+
+// Maximum number of actions on a Platform Notification.
+static const size_t kPlatformNotificationMaxActions = 2;
+
+} // namespace content
+
+#endif // CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/common/platform_notification_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698