| Index: chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
|
| index fb4136e56e61329d303a543d0e168005f5cc6937..c1955e5c2b6b361fce0ae2273d312dcf11767879 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
|
| @@ -149,10 +149,9 @@ IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, SelectAllOnClick) {
|
| EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
|
| EXPECT_TRUE(omnibox_view->IsSelectAll());
|
|
|
| - // Clicking in another view should clear focus and the selection.
|
| + // Clicking in another view should clear focus.
|
| ASSERT_NO_FATAL_FAILURE(ClickBrowserWindowCenter());
|
| EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
|
| - EXPECT_FALSE(omnibox_view->IsSelectAll());
|
|
|
| // Clicking in the omnibox again should take focus and select all text again.
|
| ASSERT_NO_FATAL_FAILURE(Click(ui_controls::LEFT,
|
| @@ -245,7 +244,6 @@ IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, SelectAllOnTap) {
|
| // Take the focus away from the omnibox.
|
| ASSERT_NO_FATAL_FAILURE(TapBrowserWindowCenter());
|
| EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
|
| - EXPECT_FALSE(omnibox_view->IsSelectAll());
|
|
|
| // Tapping in the omnibox should take focus and select all text.
|
| const gfx::Rect omnibox_bounds = BrowserView::GetBrowserViewForBrowser(
|
| @@ -255,10 +253,9 @@ IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, SelectAllOnTap) {
|
| EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
|
| EXPECT_TRUE(omnibox_view->IsSelectAll());
|
|
|
| - // Tapping in another view should clear focus and the selection.
|
| + // Tapping in another view should clear focus.
|
| ASSERT_NO_FATAL_FAILURE(TapBrowserWindowCenter());
|
| EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
|
| - EXPECT_FALSE(omnibox_view->IsSelectAll());
|
|
|
| // Tapping in the omnibox again should take focus and select all text again.
|
| ASSERT_NO_FATAL_FAILURE(Tap(tap_location, tap_location));
|
|
|