| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <mshtmcid.h> | 5 #include <mshtmcid.h> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/scoped_variant_win.h" |
| 8 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 9 #include "chrome_frame/test/chrome_frame_test_utils.h" | 10 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 10 #include "chrome_frame/test/mock_ie_event_sink_actions.h" | 11 #include "chrome_frame/test/mock_ie_event_sink_actions.h" |
| 11 #include "chrome_frame/test/mock_ie_event_sink_test.h" | 12 #include "chrome_frame/test/mock_ie_event_sink_test.h" |
| 12 | 13 |
| 13 using testing::_; | 14 using testing::_; |
| 14 using testing::InSequence; | 15 using testing::InSequence; |
| 15 using testing::StrCaseEq; | 16 using testing::StrCaseEq; |
| 16 using testing::StrEq; | 17 using testing::StrEq; |
| 17 | 18 |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 simulate_input::RIGHT), | 532 simulate_input::RIGHT), |
| 532 SendExtendedKeysEnter(&loop_, 500, VK_DOWN, 2, | 533 SendExtendedKeysEnter(&loop_, 500, VK_DOWN, 2, |
| 533 simulate_input::NONE))); | 534 simulate_input::NONE))); |
| 534 | 535 |
| 535 EXPECT_CALL(ie_mock_, OnLoad(IN_IE, StrEq(page2))) | 536 EXPECT_CALL(ie_mock_, OnLoad(IN_IE, StrEq(page2))) |
| 536 .WillOnce(CloseBrowserMock(&ie_mock_)); | 537 .WillOnce(CloseBrowserMock(&ie_mock_)); |
| 537 | 538 |
| 538 LaunchIEAndNavigate(page1); | 539 LaunchIEAndNavigate(page1); |
| 539 } | 540 } |
| 540 | 541 |
| 541 } // namespace chrome_frame_test | 542 } // namespace chrome_frame_test |
| OLD | NEW |