OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/test/test_timeouts.h" | 5 #include "base/test/test_timeouts.h" |
6 #include "chrome/test/automation/automation_proxy.h" | 6 #include "chrome/test/automation/automation_proxy.h" |
7 #include "chrome/test/automation/browser_proxy.h" | 7 #include "chrome/test/automation/browser_proxy.h" |
8 #include "chrome/test/automation/tab_proxy.h" | 8 #include "chrome/test/automation/tab_proxy.h" |
9 #include "chrome/test/automation/window_proxy.h" | 9 #include "chrome/test/automation/window_proxy.h" |
10 #include "chrome/test/ui/ui_test.h" | 10 #include "chrome/test/ui/ui_test.h" |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 #if !defined(OS_MACOSX) // see BrowserWindowCocoa::GetCommandId | 162 #if !defined(OS_MACOSX) // see BrowserWindowCocoa::GetCommandId |
163 ASSERT_TRUE(browser->ActivateTab(1)); | 163 ASSERT_TRUE(browser->ActivateTab(1)); |
164 ASSERT_TRUE(window->SimulateOSKeyPress(ui::VKEY_F4, ui::EF_CONTROL_DOWN)); | 164 ASSERT_TRUE(window->SimulateOSKeyPress(ui::VKEY_F4, ui::EF_CONTROL_DOWN)); |
165 ASSERT_TRUE(browser->WaitForTabCountToBecome(1)); | 165 ASSERT_TRUE(browser->WaitForTabCountToBecome(1)); |
166 #endif | 166 #endif |
167 } | 167 } |
168 | 168 |
169 } // namespace | 169 } // namespace |
170 | 170 |
171 #endif // defined(TOOLKIT_VIEWS) | 171 #endif // defined(TOOLKIT_VIEWS) |
OLD | NEW |