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

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

Issue 2680943004: Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2017-02-09T15:13:43 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..a6f13d14ef3f30a4a77262c40b3539b56d20117c 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;

Powered by Google App Engine
This is Rietveld 408576698