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

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

Issue 2680943004: Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2014-02-14T23:34:22 Update TestExpectation to include extend-{0,2,4}0.html and selectAllChildren.html 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 390ffe26d26c8540fb8f34edcd72bd186b130d31..3850e5520b6d94b9d19febe8331397af8f964602 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