Chromium Code Reviews| 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..f3e2682fd21af1c38e3c44e0e28838a6fbd77f71 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 { |
|
victorhsieh0
2016/04/08 19:11:12
yoshiki@, I tentatively added these fields, but if
yoshiki
2016/04/11 04:49:46
I think we can test a state of progress bar as wel
victorhsieh0
2016/04/11 18:28:26
Done.
|
| + DOMString id; |
| + DOMString type; |
| + DOMString title; |
| + DOMString message; |
| + long priority; |
| + }; |
| + dictionary NotificationArray { |
| + Notification[] notifications; |
| + }; |
| + callback NotificationArrayCallback = |
|
yoshiki
2016/04/11 04:41:47
nit: no need for new line.
victorhsieh0
2016/04/11 18:28:26
Done.
|
| + 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); |
| }; |
| }; |