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

Issue 12317133: [content shell] don't require a user action for focus/blur events during layout tests (Closed)

Created:
7 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

[content shell] don't require a user action for focus/blur events during layout tests Many layout tests assume that e.g. window.focus() will change the focus instantly. This is not the case, and those tests will need to be updated. BUG=111316 TEST=layout tests that change the focus and listen to focus events work. R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185017

Patch Set 1 #

Total comments: 2

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -6 lines) Patch
M content/public/test/layouttest_support.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 1 chunk +10 lines, -6 lines 0 comments Download
M content/shell/shell.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/shell.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/shell/shell_render_process_observer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
7 years, 10 months ago (2013-02-26 21:03:16 UTC) #1
piman
LGTM+nit https://codereview.chromium.org/12317133/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12317133/diff/1/content/renderer/render_view_impl.cc#newcode384 content/renderer/render_view_impl.cc:384: static bool g_require_user_gesture_for_focus = true; nit: could we ...
7 years, 10 months ago (2013-02-26 21:11:35 UTC) #2
jochen (gone - plz use gerrit)
On 2013/02/26 21:11:35, piman wrote: > LGTM+nit > > https://codereview.chromium.org/12317133/diff/1/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > ...
7 years, 10 months ago (2013-02-26 21:14:00 UTC) #3
piman
On Tue, Feb 26, 2013 at 1:14 PM, <jochen@chromium.org> wrote: > On 2013/02/26 21:11:35, piman ...
7 years, 10 months ago (2013-02-26 21:16:55 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/12317133/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/12317133/diff/1/content/renderer/render_view_impl.cc#newcode384 content/renderer/render_view_impl.cc:384: static bool g_require_user_gesture_for_focus = true; On 2013/02/26 21:11:35, piman ...
7 years, 9 months ago (2013-02-27 16:24:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/12317133/6001
7 years, 9 months ago (2013-02-27 16:25:00 UTC) #6
commit-bot: I haz the power
7 years, 9 months ago (2013-02-27 20:22:03 UTC) #7
Message was sent while issue was closed.
Change committed as 185017

Powered by Google App Engine
This is Rietveld 408576698