Index: Source/core/editing/FrameSelection.h |
diff --git a/Source/core/editing/FrameSelection.h b/Source/core/editing/FrameSelection.h |
index 9cd0db1cb45f1b4d092352e90a8c8b8cdb79d0fc..512f7dc29b7c80437db6fd95eb3d6240d7cc21ad 100644 |
--- a/Source/core/editing/FrameSelection.h |
+++ b/Source/core/editing/FrameSelection.h |
@@ -257,6 +257,9 @@ public: |
void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent); |
void setSelectionFromNone(); |
+ bool shouldShowBlockCursor() const { return m_shouldShowBlockCursor; } |
+ void setShouldShowBlockCursor(bool); |
+ |
private: |
enum EPositionType { START, END, BASE, EXTENT }; |
@@ -312,6 +315,7 @@ private: |
bool m_caretPaint : 1; |
bool m_isCaretBlinkingSuspended : 1; |
bool m_focused : 1; |
+ bool m_shouldShowBlockCursor : 1; |
}; |
inline EditingStyle* FrameSelection::typingStyle() const |