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 <stdio.h> | 5 #include <stdio.h> |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 // Inline autocomplete should still be there. | 1115 // Inline autocomplete should still be there. |
1116 EXPECT_EQ(old_text, omnibox_view->GetText()); | 1116 EXPECT_EQ(old_text, omnibox_view->GetText()); |
1117 } | 1117 } |
1118 | 1118 |
1119 }; | 1119 }; |
1120 | 1120 |
1121 // Test if ctrl-* accelerators are workable in omnibox. | 1121 // Test if ctrl-* accelerators are workable in omnibox. |
1122 // See http://crbug.com/19193: omnibox blocks ctrl-* commands | 1122 // See http://crbug.com/19193: omnibox blocks ctrl-* commands |
1123 // | 1123 // |
1124 // Flaky on interactive tests (dbg), http://crbug.com/69433 | 1124 // Flaky on interactive tests (dbg), http://crbug.com/69433 |
1125 // Disabled on OSX interactive ui tests 10.6, http://crbug.com/92563 | 1125 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, FLAKY_BrowserAccelerators) { |
1126 #if defined(OS_MACOSX) | |
1127 #define MAYBE_BrowserAccelerators DISABLED_BrowserAccelerators | |
1128 #else | |
1129 #define MAYBE_BrowserAccelerators FLAKY_BrowserAccelerators | |
1130 #endif | |
1131 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, MAYBE_BrowserAccelerators) { | |
1132 BrowserAcceleratorsTest(); | 1126 BrowserAcceleratorsTest(); |
1133 } | 1127 } |
1134 | 1128 |
1135 // Flakily fails and times out on Win only. http://crbug.com/69941 | 1129 // Flakily fails and times out on Win only. http://crbug.com/69941 |
1136 #if defined(OS_WIN) | 1130 #if defined(OS_WIN) |
1137 #define MAYBE_PopupAccelerators DISABLED_PopupAccelerators | 1131 #define MAYBE_PopupAccelerators DISABLED_PopupAccelerators |
1138 #else | 1132 #else |
1139 #define MAYBE_PopupAccelerators PopupAccelerators | 1133 #define MAYBE_PopupAccelerators PopupAccelerators |
1140 #endif | 1134 #endif |
1141 | 1135 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 PersistKeywordModeOnTabSwitch) { | 1401 PersistKeywordModeOnTabSwitch) { |
1408 PersistKeywordModeOnTabSwitch(); | 1402 PersistKeywordModeOnTabSwitch(); |
1409 } | 1403 } |
1410 | 1404 |
1411 IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, | 1405 IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, |
1412 CtrlKeyPressedWithInlineAutocompleteTest) { | 1406 CtrlKeyPressedWithInlineAutocompleteTest) { |
1413 CtrlKeyPressedWithInlineAutocompleteTest(); | 1407 CtrlKeyPressedWithInlineAutocompleteTest(); |
1414 } | 1408 } |
1415 | 1409 |
1416 #endif | 1410 #endif |
OLD | NEW |