Lines Matching refs:notification
972 // Notification
979 * notification slot at the top of the NTP. A close button ("x") will be
986 * notification.
989 // TODO(arv): Create a notification component.
990 var notificationElement = $('notification');
997 document.body.classList.add('notification-shown');
1010 if (notification.classList.contains('promo'))
1016 notification.classList.remove('first-run');
1017 notification.classList.remove('promo');
1021 var closeButton = notificationElement.querySelector('#notification-close');
1026 $('notification-close').onclick = closeNotification;
1059 var notificationElement = $('notification');
1061 document.body.classList.remove('notification-shown');
1063 var closeButton = notificationElement.querySelector('#notification-close');
1084 var notificationElement = $('notification');
1085 notification.classList.add('promo');