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

Unified Diff: chrome/common/extensions/api/autotest_private.idl

Issue 1872873002: Add autotestPrivate.getVisibleNotifications API (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
Index: chrome/common/extensions/api/autotest_private.idl
diff --git a/chrome/common/extensions/api/autotest_private.idl b/chrome/common/extensions/api/autotest_private.idl
index 65f89b269533050d27014c86319f30263842ff98..c47c12095491f8addd6ee0f83ff5313f70501685 100644
--- a/chrome/common/extensions/api/autotest_private.idl
+++ b/chrome/common/extensions/api/autotest_private.idl
@@ -53,6 +53,19 @@ namespace autotestPrivate {
};
callback ExtensionsInfoCallback = void (ExtensionsInfoArray info);
+ dictionary Notification {
+ DOMString id;
+ DOMString type;
+ DOMString title;
+ DOMString message;
+ long priority;
+ long progress;
+ };
+ dictionary NotificationArray {
+ Notification[] notifications;
+ };
+ callback NotificationArrayCallback = void (NotificationArray notifications);
+
interface Functions {
// Logout of a user session.
static void logout();
@@ -103,5 +116,8 @@ namespace autotestPrivate {
// Swap the primary mouse button for left click.
// |right|: if set, swap the primary mouse button.
static void setPrimaryButtonRight(boolean right);
+
+ // Get visible notifications on the system.
+ static void getVisibleNotifications(NotificationArrayCallback callback);
};
};

Powered by Google App Engine
This is Rietveld 408576698