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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 8558014: Add experimental extension APIs to notify about wakeup and screen unlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT Created 9 years, 1 month 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 | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 6be5b4bc95a5561b1671bfa9e397df79538bd5e6..961ca26abd8107160ae2071b3bfc7ffb3f07104f 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -509,6 +509,18 @@
"description": "Information about the current state of the system volume control, including whether it is muted."
}
]
+ },
+ {
+ "name": "onScreenUnlocked",
+ "type": "function",
+ "description": "Fired when the screen is unlocked.",
+ "parameters": []
+ },
+ {
+ "name": "onWokeUp",
+ "type": "function",
+ "description": "Fired when the device wakes up from sleep.",
+ "parameters": []
}
]
},
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698