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

Issue 340413002: Fixes content_browsertests with --enable-text-input-focus-manager flag enabled. (Closed)

Created:
6 years, 6 months ago by Yuki
Modified:
6 years, 6 months ago
Reviewers:
sky, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, msw
Project:
chromium
Visibility:
Public.

Description

Fixes content_browsertests with --enable-text-input-focus-manager flag enabled. Some tests in content_browsertests are broken if --enable-text-input-focus-manager is enabled. Fix those tests. Since not all unittests run wm::FocusController::SetFocusedWindow, it turned out that we need WMTestHelper (instead of FocusController) to clear the text input client. BUG=290701 TEST=Run content_browsertests with --enable-text-input-focus-manager enabled. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278793

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Addressed sky's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M content/browser/bookmarklet_browsertest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/test/content_browser_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_views.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/test/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/test/wm_test_helper.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M ui/wm/wm.gyp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Yuki
Could you guys review this CL? piman@: content/ The changes are very simple and trivial, ...
6 years, 6 months ago (2014-06-19 16:36:56 UTC) #1
sky
https://codereview.chromium.org/340413002/diff/20001/content/public/test/content_browser_test.cc File content/public/test/content_browser_test.cc (left): https://codereview.chromium.org/340413002/diff/20001/content/public/test/content_browser_test.cc#oldcode107 content/public/test/content_browser_test.cc:107: #if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(USE_X11) Can you investigate ...
6 years, 6 months ago (2014-06-19 20:14:07 UTC) #2
Yuki
https://codereview.chromium.org/340413002/diff/20001/content/public/test/content_browser_test.cc File content/public/test/content_browser_test.cc (left): https://codereview.chromium.org/340413002/diff/20001/content/public/test/content_browser_test.cc#oldcode107 content/public/test/content_browser_test.cc:107: #if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(USE_X11) On 2014/06/19 20:14:06, ...
6 years, 6 months ago (2014-06-20 01:30:51 UTC) #3
sky
LGTM
6 years, 6 months ago (2014-06-20 14:53:39 UTC) #4
Yuki
piman, could you review this CL as an owner of content/ ?
6 years, 6 months ago (2014-06-20 17:16:11 UTC) #5
piman
lgtm
6 years, 6 months ago (2014-06-20 17:18:54 UTC) #6
Yuki
The CQ bit was checked by yukishiino@chromium.org
6 years, 6 months ago (2014-06-20 17:26:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/340413002/2
6 years, 6 months ago (2014-06-20 17:31:04 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 18:16:28 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 19:18:15 UTC) #10
Message was sent while issue was closed.
Change committed as 278793

Powered by Google App Engine
This is Rietveld 408576698