summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_automation.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 02:49:18 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 02:49:18 +0000
commitef8561def41e78e9a56939246d3331703ab93c0d (patch)
tree12d14cefca2d95fef63275d97b29f92bbcbcb277 /chrome_frame/chrome_frame_automation.h
parent4751c74ecc02d7baa5a56fafd5a4e29a779d168a (diff)
downloadchromium_src-ef8561def41e78e9a56939246d3331703ab93c0d.zip
chromium_src-ef8561def41e78e9a56939246d3331703ab93c0d.tar.gz
chromium_src-ef8561def41e78e9a56939246d3331703ab93c0d.tar.bz2
Fix the ChromeFrame MockCreateTabOk test by returning the launch result from the CreateExternalTabComplete helper
and passing the same to the InitializeComplete function which eventually gets passed down to the mock delegate which expects a failure. Bug=44245 TBR=stoyan Review URL: http://codereview.chromium.org/2114009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.h')
-rw-r--r--chrome_frame/chrome_frame_automation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h
index 78e1d30..7b9b774 100644
--- a/chrome_frame/chrome_frame_automation.h
+++ b/chrome_frame/chrome_frame_automation.h
@@ -282,8 +282,9 @@ class ChromeFrameAutomationClient
virtual void OnChannelError(TabProxy* tab);
void CreateExternalTab();
- void CreateExternalTabComplete(HWND chrome_window, HWND tab_window,
- int tab_handle);
+ AutomationLaunchResult CreateExternalTabComplete(HWND chrome_window,
+ HWND tab_window,
+ int tab_handle);
// Called in UI thread. Here we fire event to the client notifying for
// the result of Initialize() method call.
void InitializeComplete(AutomationLaunchResult result);