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

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

Issue 2293293003: Make CaretBase a DisplayItemClient. (Closed)
Patch Set: Fix caret invalidation when style changes. Update test expectations. Created 4 years, 3 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 5af1d58c408f28bdc2ae1460e61aacc7837e496c..16bc71e7e3d226504d0d8f5706c5e573405332ed 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.h
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.h
@@ -52,7 +52,7 @@ public:
void setCaretVisibility(CaretVisibility) override;
bool isCaretBoundsDirty() const { return m_caretRectDirty; }
void setCaretRectNeedsUpdate();
- void invalidateCaretRect();
+ void invalidateCaretRect(bool forceInvalidation);
chrishtr 2016/09/01 23:45:58 Document briefly.
wkorman 2016/09/02 00:02:46 Done.
IntRect absoluteCaretBounds();
bool shouldShowBlockCursor() const { return m_shouldShowBlockCursor; }
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.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