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

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

Issue 201393002: Add onChanged callback for chrome.sessions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test Created 6 years, 9 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/sessions.json
diff --git a/chrome/common/extensions/api/sessions.json b/chrome/common/extensions/api/sessions.json
index a063d920b450c6b7f26af0f4f919b1aa68dc3616..9362c4cca234f68903f972ff88d6815abf02be94 100644
--- a/chrome/common/extensions/api/sessions.json
+++ b/chrome/common/extensions/api/sessions.json
@@ -107,6 +107,13 @@
]
}
],
+ "events": [
+ {
+ "name": "onChanged",
+ "description": "Fired when recently closed tabs and/or windows are changed. This event does not monitor synced sessions changes.",
+ "type": "function"
+ }
+ ],
"properties": {
"MAX_SESSION_RESULTS": {
"value": 25,

Powered by Google App Engine
This is Rietveld 408576698