summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.h
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 18:44:44 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 18:44:44 +0000
commiteac83f0d14be2fed85edf2ffad934dd1309819e7 (patch)
treeff49e92397297d26cf3b860546a6a4730399d454 /chrome/browser/external_tab_container.h
parent35a321ef8cb16f44a29b114dbcfa99f62388710a (diff)
downloadchromium_src-eac83f0d14be2fed85edf2ffad934dd1309819e7.zip
chromium_src-eac83f0d14be2fed85edf2ffad934dd1309819e7.tar.gz
chromium_src-eac83f0d14be2fed85edf2ffad934dd1309819e7.tar.bz2
Pass external tab handle when Chrome sends outgoing notifications through automation interface.
Review URL: http://codereview.chromium.org/115134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r--chrome/browser/external_tab_container.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h
index b55c84d..c0effce 100644
--- a/chrome/browser/external_tab_container.h
+++ b/chrome/browser/external_tab_container.h
@@ -52,6 +52,11 @@ class ExternalTabContainer : public TabContentsDelegate,
return tab_contents_;
}
+ // Temporary hack so we can send notifications back
+ void set_tab_handle(int handle) {
+ tab_handle_ = handle;
+ }
+
bool Init(Profile* profile, HWND parent, const gfx::Rect& dimensions,
unsigned int style);
@@ -159,6 +164,7 @@ class ExternalTabContainer : public TabContentsDelegate,
TabContentsContainerView* tab_contents_container_;
private:
+ int tab_handle_;
// A failed navigation like a 404 is followed in chrome with a success
// navigation for the 404 page. We need to ignore the next navigation
// to avoid confusing the clients of the external tab. This member variable