Index: chrome/browser/external_tab_container.h |
=================================================================== |
--- chrome/browser/external_tab_container.h (revision 10800) |
+++ chrome/browser/external_tab_container.h (working copy) |
@@ -41,7 +41,6 @@ |
BEGIN_MSG_MAP(ExternalTabContainer) |
MESSAGE_HANDLER(WM_SIZE, OnSize) |
MESSAGE_HANDLER(WM_SETFOCUS, OnSetFocus) |
- MSG_WM_DESTROY(OnDestroy) |
END_MSG_MAP() |
DECLARE_WND_CLASS(chrome::kExternalTabWindowClass) |
@@ -56,6 +55,11 @@ |
bool Init(Profile* profile, HWND parent, const gfx::Rect& dimensions, |
unsigned int style); |
+ // This function gets called from two places, which is fine. |
+ // 1. OnFinalMessage |
+ // 2. In the destructor. |
+ bool Uninitialize(HWND window); |
+ |
// Overridden from TabContentsDelegate: |
virtual void OpenURLFromTab(TabContents* source, |
const GURL& url, |