1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

adjust notification bar for small/zoomed screens

This commit is contained in:
Kyle Spearrin
2017-09-07 10:12:34 -04:00
parent 0b2fa01232
commit 1b344ade0d
5 changed files with 52 additions and 3 deletions

View File

@@ -75,6 +75,9 @@ chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
else if (msg.command === 'bgCloseNotificationBar') {
messageTab(sender.tab.id, 'closeNotificationBar');
}
else if (msg.command === 'bgAdjustNotificationBar') {
messageTab(sender.tab.id, 'adjustNotificationBar', msg.data);
}
else if (msg.command === 'bgCollectPageDetails') {
collectPageDetailsForContentScript(sender.tab, msg.sender);
}