Index: chrome/browser/chromeos/compact_navigation_bar_browsertest.cc |
=================================================================== |
--- chrome/browser/chromeos/compact_navigation_bar_browsertest.cc (revision 45975) |
+++ chrome/browser/chromeos/compact_navigation_bar_browsertest.cc (working copy) |
@@ -50,16 +50,16 @@ |
gfx::NativeWindow window = browser()->window()->GetNativeHandle(); |
// ctrl-shift-c should toggle compact navigation bar. |
- ui_controls::SendKeyPress(window, base::VKEY_C, true, true, false); |
+ ui_controls::SendKeyPress(window, base::VKEY_C, true, true, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(IsViewIdVisible(VIEW_ID_COMPACT_NAV_BAR)); |
- ui_controls::SendKeyPress(window, base::VKEY_C, true, true, false); |
+ ui_controls::SendKeyPress(window, base::VKEY_C, true, true, false, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_FALSE(IsViewIdVisible(VIEW_ID_COMPACT_NAV_BAR)); |
// but ctrl-alt-c should not. |
- ui_controls::SendKeyPress(window, base::VKEY_C, true, false, true); |
+ ui_controls::SendKeyPress(window, base::VKEY_C, true, false, true, false); |
ui_test_utils::RunAllPendingInMessageLoop(); |
EXPECT_FALSE(IsViewIdVisible(VIEW_ID_COMPACT_NAV_BAR)); |
} |