Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Issue 13461032: Fix Windows InstantExtendedTest focus issues with OmniboxViewViews. (Closed)

Created:
7 years, 8 months ago by msw
Modified:
7 years, 8 months ago
Reviewers:
sreeram, Jered
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, dougw+watch_chromium.org, sreeram, gideonwald, dominich, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Ben Goodger (Google), sail
Visibility:
Public.

Description

Fix Windows InstantExtendedTest focus issues with OmniboxViewViews. Four InstantExtendedTest interactive_ui_tests fail with Views Textfields. interactive_ui_tests.exe --gtest_filter=InstantExtendedTest.* --enable-views-textfield OmniboxFocusLoadsInstant, OmniboxTextUponFocusedCommittedSERP NavigationSuggestionIsDiscardedUponSearchSuggestion, OmniboxHasFocusOnNewTab Fix these tests by explicitly calling On[Will]KillFocus for the omnibox. Add InstantExtendedTest::BlurOmniboxAndFocusContents helper function. BUG=131660, 226189 TEST=InstantExtendedTest passes with --enable-views-textfield. R=jered@chromium.org,sreeram@chromium.org Abandoned in favor of sail's http://crrev.com/192645

Patch Set 1 #

Patch Set 2 : Add BlurOmniboxAndFocusContents convenience function. #

Patch Set 3 : Fix another focus failure that surfaced on Mac. #

Total comments: 6

Patch Set 4 : Restore BringBrowserWindowToFront calls; fix comment typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M chrome/browser/ui/search/instant_extended_browsertest.cc View 1 2 3 6 chunks +22 lines, -17 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
msw
Hey Jered, Sreeeram, and Scott (for OWNERS), please take a look; thanks!
7 years, 8 months ago (2013-04-05 15:06:07 UTC) #1
sky
Jered and Sreeram on owners here, so removing myself.
7 years, 8 months ago (2013-04-05 16:11:27 UTC) #2
Jered
https://codereview.chromium.org/13461032/diff/7001/chrome/browser/ui/search/instant_extended_browsertest.cc File chrome/browser/ui/search/instant_extended_browsertest.cc (left): https://codereview.chromium.org/13461032/diff/7001/chrome/browser/ui/search/instant_extended_browsertest.cc#oldcode175 chrome/browser/ui/search/instant_extended_browsertest.cc:175: EXPECT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser())); The new code does not do this. Is ...
7 years, 8 months ago (2013-04-05 16:27:07 UTC) #3
msw
Comments addressed; please take another look, thanks! https://codereview.chromium.org/13461032/diff/7001/chrome/browser/ui/search/instant_extended_browsertest.cc File chrome/browser/ui/search/instant_extended_browsertest.cc (left): https://codereview.chromium.org/13461032/diff/7001/chrome/browser/ui/search/instant_extended_browsertest.cc#oldcode175 chrome/browser/ui/search/instant_extended_browsertest.cc:175: EXPECT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser())); On ...
7 years, 8 months ago (2013-04-05 16:39:02 UTC) #4
Jered
lgtm On 2013/04/05 16:39:02, msw wrote: > Comments addressed; please take another look, thanks! > ...
7 years, 8 months ago (2013-04-05 16:53:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/13461032/16001
7 years, 8 months ago (2013-04-05 16:54:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/13461032/16001
7 years, 8 months ago (2013-04-05 16:55:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/13461032/16001
7 years, 8 months ago (2013-04-05 22:40:26 UTC) #8
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/search/instant_extended_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-06 01:46:14 UTC) #9
msw
7 years, 8 months ago (2013-04-06 02:34:53 UTC) #10
Abandoning in favor of sail's http://crrev.com/192645

Powered by Google App Engine
This is Rietveld 408576698