| Index: Source/core/editing/FrameSelection.h
|
| diff --git a/Source/core/editing/FrameSelection.h b/Source/core/editing/FrameSelection.h
|
| index ebffebe35f6ffa60f3aa7b1f63c8f5b722ede3d2..b900d71d655bbccaf69b01603f9002365acae8e0 100644
|
| --- a/Source/core/editing/FrameSelection.h
|
| +++ b/Source/core/editing/FrameSelection.h
|
| @@ -89,6 +89,10 @@ public:
|
| NonDirectional,
|
| Directional
|
| };
|
| + enum UpdateAppearanceOption {
|
| + None,
|
| + ResetCaretBlink
|
| + };
|
|
|
| Element* rootEditableElement() const { return m_selection.rootEditableElement(); }
|
| Element* rootEditableElementOrDocumentElement() const;
|
| @@ -139,8 +143,8 @@ public:
|
| // Return the renderer that is responsible for painting the caret (in the selection start node)
|
| RenderBlock* caretRenderer() const;
|
|
|
| - // Caret rect local to the caret's renderer
|
| - LayoutRect localCaretRect();
|
| + // Update caret rect local to the caret's renderer
|
| + void updateLocalCaretRect();
|
| LayoutRect localCaretRectWithoutUpdateForTesting() const { return CaretBase::localCaretRectWithoutUpdate(); }
|
|
|
| // Bounds of (possibly transformed) caret in absolute coords
|
| @@ -184,7 +188,7 @@ public:
|
| void pageActivationChanged();
|
|
|
| // Painting.
|
| - void updateAppearance();
|
| + void updateAppearance(UpdateAppearanceOption = None);
|
|
|
| void updateSecureKeyboardEntryIfActive();
|
|
|
|
|