| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 #define MAYBE_NonSubstitutingKeywordTest DISABLED_NonSubstitutingKeywordTest | 1415 #define MAYBE_NonSubstitutingKeywordTest DISABLED_NonSubstitutingKeywordTest |
| 1416 #else | 1416 #else |
| 1417 #define MAYBE_NonSubstitutingKeywordTest NonSubstitutingKeywordTest | 1417 #define MAYBE_NonSubstitutingKeywordTest NonSubstitutingKeywordTest |
| 1418 #endif | 1418 #endif |
| 1419 | 1419 |
| 1420 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, MAYBE_NonSubstitutingKeywordTest) { | 1420 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, MAYBE_NonSubstitutingKeywordTest) { |
| 1421 NonSubstitutingKeywordTest(); | 1421 NonSubstitutingKeywordTest(); |
| 1422 } | 1422 } |
| 1423 | 1423 |
| 1424 // http://crbug.com/131179 http://crbug.com/165765 | 1424 // http://crbug.com/131179 http://crbug.com/165765 |
| 1425 #if defined(OS_LINUX) || defined(OS_WIN) | 1425 #if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_MACOSX) |
| 1426 #define MAYBE_DeleteItem DISABLED_DeleteItem | 1426 #define MAYBE_DeleteItem DISABLED_DeleteItem |
| 1427 #else | 1427 #else |
| 1428 #define MAYBE_DeleteItem DeleteItem | 1428 #define MAYBE_DeleteItem DeleteItem |
| 1429 #endif | 1429 #endif |
| 1430 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, MAYBE_DeleteItem) { | 1430 IN_PROC_BROWSER_TEST_F(OmniboxViewTest, MAYBE_DeleteItem) { |
| 1431 DeleteItemTest(); | 1431 DeleteItemTest(); |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 // http://crbug.com/133344 | 1434 // http://crbug.com/133344 |
| 1435 #if defined(OS_LINUX) | 1435 #if defined(OS_LINUX) |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1677 | 1677 |
| 1678 // Middle-clicking shouldn't select all the text either. | 1678 // Middle-clicking shouldn't select all the text either. |
| 1679 ASSERT_NO_FATAL_FAILURE( | 1679 ASSERT_NO_FATAL_FAILURE( |
| 1680 ClickFocusViewOrigin(ui_controls::LEFT, kClickOffset, kClickOffset)); | 1680 ClickFocusViewOrigin(ui_controls::LEFT, kClickOffset, kClickOffset)); |
| 1681 ASSERT_NO_FATAL_FAILURE(ClickBrowserWindowCenter()); | 1681 ASSERT_NO_FATAL_FAILURE(ClickBrowserWindowCenter()); |
| 1682 ASSERT_NO_FATAL_FAILURE( | 1682 ASSERT_NO_FATAL_FAILURE( |
| 1683 ClickFocusViewOrigin(ui_controls::MIDDLE, kClickOffset, kClickOffset)); | 1683 ClickFocusViewOrigin(ui_controls::MIDDLE, kClickOffset, kClickOffset)); |
| 1684 EXPECT_FALSE(omnibox_view->IsSelectAll()); | 1684 EXPECT_FALSE(omnibox_view->IsSelectAll()); |
| 1685 } | 1685 } |
| 1686 #endif // defined(USE_AURA) | 1686 #endif // defined(USE_AURA) |
| OLD | NEW |