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

Issue 238023004: Focusing iframe window should trigger blur event for oldframe's focused element (Closed)

Created:
6 years, 8 months ago by gnana
Modified:
6 years, 8 months ago
Reviewers:
tkent
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Focusing iframe window should trigger blur event for oldframe's focused element when inactive frame is focused, in EventHandler::focusDocumentView sending a blur event to the old frame focusedelement and sending focus event for the new frame focused element. This makes behaviour consistent with IE and firefox. BUG=361746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172437

Patch Set 1 : #

Total comments: 6

Patch Set 2 : incorporated review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -1 line) Patch
A LayoutTests/fast/frames/frame-focus-send-blur.html View 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/fast/frames/frame-focus-send-blur-expected.txt View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/FocusController.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/FocusController.cpp View 1 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
gnana
Please have a look.
6 years, 8 months ago (2014-04-16 14:33:57 UTC) #1
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 8 months ago (2014-04-22 06:06:44 UTC) #2
gnana
The CQ bit was unchecked by gnanasekar.s@samsung.com
6 years, 8 months ago (2014-04-22 06:06:45 UTC) #3
gnana
Please have a look.
6 years, 8 months ago (2014-04-22 08:32:19 UTC) #4
gnana
Please have a look.
6 years, 8 months ago (2014-04-22 08:32:19 UTC) #5
gnana
Please have a look.
6 years, 8 months ago (2014-04-22 08:32:19 UTC) #6
tkent
https://codereview.chromium.org/238023004/diff/110001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (left): https://codereview.chromium.org/238023004/diff/110001/Source/core/page/EventHandler.cpp#oldcode4036 Source/core/page/EventHandler.cpp:4036: page->focusController().setFocusedFrame(m_frame); Can you improve FocusController::setFocusedFrame instead of introducing focusDocumentView? ...
6 years, 8 months ago (2014-04-23 02:23:30 UTC) #7
gnana
Please have a look https://codereview.chromium.org/238023004/diff/110001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (left): https://codereview.chromium.org/238023004/diff/110001/Source/core/page/EventHandler.cpp#oldcode4036 Source/core/page/EventHandler.cpp:4036: page->focusController().setFocusedFrame(m_frame); On 2014/04/23 02:23:31, tkent ...
6 years, 8 months ago (2014-04-23 12:21:50 UTC) #8
tkent
lgtm
6 years, 8 months ago (2014-04-24 00:38:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/238023004/150001
6 years, 8 months ago (2014-04-24 00:38:56 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 01:52:44 UTC) #11
Message was sent while issue was closed.
Change committed as 172437

Powered by Google App Engine
This is Rietveld 408576698