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

Issue 17005008: Don't show caret when containing element doesn't have focus (Closed)

Created:
7 years, 6 months ago by yosin_UTC9
Modified:
7 years, 5 months ago
Reviewers:
tkent
CC:
blink-reviews, eae+blinkwatch
Visibility:
Public.

Description

This patch changes to hide caret when editable element containing caret doesn't have focus. - FrameSelection::didFocusChanged: For hiding caret at focus changed. - FrameSelection::shouldBlinkCaret: For ease of reading to understand when caret will be blink. BUG=222546 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153317

Patch Set 1 : 2013-06-28T14:12:48 #

Total comments: 6

Patch Set 2 : 2013-06-28T17:13:40 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -4 lines) Patch
A LayoutTests/editing/caret/caret-is-hidden-when-no-focus.html View 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/editing/caret/caret-is-hidden-when-no-focus-expected.html View 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 3 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
yosin_UTC9
Could you review this patch? Thanks in advance.
7 years, 5 months ago (2013-06-28 05:29:32 UTC) #1
tkent
https://codereview.chromium.org/17005008/diff/5006/Source/core/editing/FrameSelection.cpp File Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/17005008/diff/5006/Source/core/editing/FrameSelection.cpp#newcode1787 Source/core/editing/FrameSelection.cpp:1787: bool caretBrowsing = m_frame->settings() && m_frame->settings()->caretBrowsingEnabled(); The variable 'caretBrowing' ...
7 years, 5 months ago (2013-06-28 06:46:56 UTC) #2
yosin_UTC9
PTAL https://codereview.chromium.org/17005008/diff/5006/Source/core/editing/FrameSelection.cpp File Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/17005008/diff/5006/Source/core/editing/FrameSelection.cpp#newcode1787 Source/core/editing/FrameSelection.cpp:1787: bool caretBrowsing = m_frame->settings() && m_frame->settings()->caretBrowsingEnabled(); On 2013/06/28 ...
7 years, 5 months ago (2013-06-28 08:22:46 UTC) #3
tkent
lgtm
7 years, 5 months ago (2013-06-30 22:39:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yosin@chromium.org/17005008/15001
7 years, 5 months ago (2013-07-01 01:26:55 UTC) #5
commit-bot: I haz the power
7 years, 5 months ago (2013-07-01 03:18:00 UTC) #6
Message was sent while issue was closed.
Change committed as 153317

Powered by Google App Engine
This is Rietveld 408576698