Index: chrome/browser/extensions/browser_event_router.h |
diff --git a/chrome/browser/extensions/browser_event_router.h b/chrome/browser/extensions/browser_event_router.h |
index f424f57a66390043691581e8e697718eed15ebde..0f468e1f8923edda747fa75399f7a0293fd19e6f 100644 |
--- a/chrome/browser/extensions/browser_event_router.h |
+++ b/chrome/browser/extensions/browser_event_router.h |
@@ -130,6 +130,15 @@ class BrowserEventRouter : public TabStripModelObserver, |
void DispatchTabUpdatedEvent(content::WebContents* contents, |
scoped_ptr<DictionaryValue> changed_properties); |
+ void DispatchTabDetached(content::WebContents* contents, int index); |
+ |
+ // Send Tab removed event and stop listening for notifications on said |
+ // |contents|. |
+ void DispatchTabRemovedAndUnregisterNotifications( |
+ content::WebContents* contents, |
+ int tab_id, |
+ bool window_closing); |
+ |
// Called to dispatch a deprecated style page action click event that was |
// registered like: |
// chrome.pageActions["name"].addListener(function(actionId, info){}) |