     func webView(webView: WKWebView, didFinishNavigation navigation: WKNavigation!) {
         collectionView.reloadData()
     }
+}
+
+extension TopTabsViewController: TabManagerDelegate {
+    func tabManager(tabManager: TabManager, didSelectedTabChange selected: Tab?, previous: Tab?) {}
+    func tabManager(tabManager: TabManager, didCreateTab tab: Tab) {}
+    func tabManager(tabManager: TabManager, didAddTab tab: Tab) {}
+    func tabManager(tabManager: TabManager, didRemoveTab tab: Tab) {}
+    func tabManagerDidRestoreTabs(tabManager: TabManager) {}
+    func tabManagerDidAddTabs(tabManager: TabManager) {
+        collectionView.reloadData()
+    }
+    func tabManagerDidRemoveAllTabs(tabManager: TabManager, toast:ButtonToast?) {}
 }
    
    deinit {
        NSNotificationCenter.defaultCenter().removeObserver(self, name: FaviconManager.FaviconDidLoad, object: nil)
    }
    
    required init?(coder aDecoder: NSCoder) {

    
    override func viewDidLoad() {
        super.viewDidLoad()
        tabManager.addDelegate(self)
        
        let topTabFader = TopTabFader()
        
