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

Unified Diff: third_party/WebKit/Source/core/editing/FrameCaret.h

Issue 2637013002: CONTINUED Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2017-02-08T18:56:19 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/FrameCaret.h
diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.h b/third_party/WebKit/Source/core/editing/FrameCaret.h
index b546a8082bddb9e160d52a19651becfc3d4986dc..8c209c6b2a2160111c1f6d7171df8fcc62bd7b3a 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.h
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.h
@@ -58,7 +58,7 @@ class CORE_EXPORT FrameCaret final
const DisplayItemClient& displayItemClient() const;
bool isActive() const { return caretPosition().isNotNull(); }
- void updateAppearance();
+ void scheduleVisualUpdateForPaintInvalidationIfNeeded();
// Used to suspend caret blinking while the mouse is down.
void setCaretBlinkingSuspended(bool suspended) {
@@ -99,8 +99,7 @@ class CORE_EXPORT FrameCaret final
bool shouldBlinkCaret() const;
void caretBlinkTimerFired(TimerBase*);
bool caretPositionIsValidForDocument(const Document&) const;
-
- void scheduleVisualUpdateForPaintInvalidationIfNeeded();
+ void updateAppearance();
const Member<const SelectionEditor> m_selectionEditor;
const Member<LocalFrame> m_frame;
@@ -111,6 +110,7 @@ class CORE_EXPORT FrameCaret final
bool m_shouldPaintCaret : 1;
bool m_isCaretBlinkingSuspended : 1;
bool m_shouldShowBlockCursor : 1;
+ bool m_shouldUpdateLayoutAndStyle : 1;
DISALLOW_COPY_AND_ASSIGN(FrameCaret);
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/CharacterData.cpp ('k') | third_party/WebKit/Source/core/editing/FrameCaret.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698