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..85ae520ffb7169b7345624ae4a7a1820b0971019 100644 |
--- a/chrome/browser/extensions/browser_event_router.h |
+++ b/chrome/browser/extensions/browser_event_router.h |
@@ -47,7 +47,8 @@ class BrowserEventRouter : public TabStripModelObserver, |
content::WebContents* contents, |
int index) OVERRIDE; |
virtual void TabDetachedAt(content::WebContents* contents, |
- int index) OVERRIDE; |
+ int index, |
+ bool closing_all) OVERRIDE; |
virtual void ActiveTabChanged(content::WebContents* old_contents, |
content::WebContents* new_contents, |
int index, |
@@ -130,6 +131,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){}) |