Index: chrome/browser/chromeos/compact_location_bar_host_browsertest.cc |
=================================================================== |
--- chrome/browser/chromeos/compact_location_bar_host_browsertest.cc (revision 45975) |
+++ chrome/browser/chromeos/compact_location_bar_host_browsertest.cc (working copy) |
@@ -52,7 +52,7 @@ |
IN_PROC_BROWSER_TEST_F(CompactLocationBarHostTest, TestCtrlLOpen) { |
// ctrl-l should not open compact location bar in normal mode. |
- ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false); |
+ ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsCurrentTabIndex(-1)); |
EXPECT_FALSE(clb_host()->IsVisible()); |
@@ -63,13 +63,14 @@ |
EXPECT_FALSE(clb_host()->IsVisible()); |
// ctrl-l should not open compact location bar in compact nav mode. |
- ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false); |
+ ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsCurrentTabIndex(0)); |
EXPECT_TRUE(clb_host()->IsVisible()); |
// Esc to close it. |
- ui_controls::SendKeyPress(window(), base::VKEY_ESCAPE, false, false, false); |
+ ui_controls::SendKeyPress(window(), base::VKEY_ESCAPE, |
+ false, false, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsCurrentTabIndex(0)); |
EXPECT_FALSE(clb_host()->IsVisible()); |
@@ -77,7 +78,7 @@ |
IN_PROC_BROWSER_TEST_F(CompactLocationBarHostTest, TestOnNewTab) { |
browser()->ToggleCompactNavigationBar(); |
- ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false); |
+ ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsCurrentTabIndex(0)); |
EXPECT_TRUE(clb_host()->IsVisible()); |
@@ -88,7 +89,7 @@ |
// See http://crbug.com/39858 for details. |
//EXPECT_FALSE(clb_host()->IsVisible()); |
- ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false); |
+ ui_controls::SendKeyPress(window(), base::VKEY_L, true, false, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsCurrentTabIndex(1)); |
EXPECT_TRUE(clb_host()->IsVisible()); |