1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

notification bar context script/page

This commit is contained in:
Kyle Spearrin
2016-12-29 18:35:41 -05:00
parent 3b78c0c3ed
commit 54e8867ce7
4 changed files with 134 additions and 1 deletions

View File

@@ -55,6 +55,12 @@ chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
else if (msg.command === 'bgCloseOverlayPopup') {
messageCurrentTab('closeOverlayPopup');
}
else if (msg.command === 'bgOpenNotificationBar') {
messageCurrentTab('openNotificationBar');
}
else if (msg.command === 'bgCloseNotificationBar') {
messageCurrentTab('closeNotificationBar');
}
else if (msg.command === 'collectPageDetailsResponse') {
clearTimeout(autofillTimeout);
pageDetailsToAutoFill.push({ frameId: sender.frameId, tabId: msg.tabId, details: msg.details });