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

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

Issue 2440483002: Combine action parameters sent to Android displayNotification (Closed)
Patch Set: Created 4 years, 2 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_platform_types_android.h
diff --git a/chrome/browser/notifications/notification_platform_types_android.h b/chrome/browser/notifications/notification_platform_types_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..ca4382fb1ebac201aa875f76bb4ed16f356bb53e
--- /dev/null
+++ b/chrome/browser/notifications/notification_platform_types_android.h
@@ -0,0 +1,15 @@
+// Copyright 2016 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 CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_TYPES_ANDROID_H_
+#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_TYPES_ANDROID_H_
+
+// A Java counterpart will be generated for this enum.
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.notifications
+enum NotificationActionType {
awdf 2016/10/20 15:18:07 I tried making it an enum class but that doesn't a
Peter Beverloo 2016/10/20 15:36:20 SGTM. I think you mean https://crbug.com/657847.
awdf 2016/10/20 16:05:39 Ah yes, that's the one. I've given it the label 'B
Peter Beverloo 2016/10/20 16:13:38 That label sounds fine to me.
awdf 2016/10/20 16:35:44 Done (put the enum in the other file and removed t
+ BUTTON,
+ TEXT
+};
+
+#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_TYPES_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698