Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1895)

Unified Diff: chrome_frame/test/chrome_frame_unittests.cc

Issue 274071: When Chrome hands off a URL to be opened by the external host by the ViewHost... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/chrome_frame_automation_mock.h ('k') | chrome_frame/test/data/referrer_frame.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/chrome_frame_unittests.cc
===================================================================
--- chrome_frame/test/chrome_frame_unittests.cc (revision 29317)
+++ chrome_frame/test/chrome_frame_unittests.cc (working copy)
@@ -1101,7 +1101,7 @@
EXPECT_CALL(cfd, OnAutomationServerReady())
.WillOnce(testing::InvokeWithoutArgs(TaskHolder(NewRunnableMethod(
client.get(), &ChromeFrameAutomationClient::InitiateNavigation,
- url, false))));
+ url, std::string(), false))));
// cfd.SetOnNavigationStateChanged();
EXPECT_CALL(cfd,
@@ -1141,7 +1141,7 @@
EXPECT_CALL(cfd, OnAutomationServerReady())
.WillOnce(testing::InvokeWithoutArgs(TaskHolder(NewRunnableMethod(
client.get(), &ChromeFrameAutomationClient::InitiateNavigation,
- url, false))));
+ url, std::string(), false))));
EXPECT_CALL(cfd,
OnNavigationStateChanged(testing::_, testing::_))
@@ -1199,7 +1199,7 @@
EXPECT_CALL(cfd, OnAutomationServerReady())
.WillOnce(testing::InvokeWithoutArgs(TaskHolder(NewRunnableMethod(
client.get(), &ChromeFrameAutomationClient::InitiateNavigation,
- url, false))));
+ url, std::string(), false))));
EXPECT_CALL(cfd, OnNavigationStateChanged(testing::_, testing::_))
.Times(testing::AnyNumber());
@@ -1431,6 +1431,11 @@
SimpleBrowserTest(IE, kNavigateOutPage, L"navigate_out");
}
+const wchar_t kReferrerMainTest[] = L"files/referrer_main.html";
+TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_ReferrerTest) {
+ SimpleBrowserTest(IE, kReferrerMainTest, L"FullTab_ReferrerTest");
+}
+
HRESULT LaunchIEAsComServer(IWebBrowser2** web_browser) {
if (!web_browser)
return E_INVALIDARG;
« no previous file with comments | « chrome_frame/test/chrome_frame_automation_mock.h ('k') | chrome_frame/test/data/referrer_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698