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

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

Issue 2293293003: Make CaretBase a DisplayItemClient. (Closed)
Patch Set: Fix unit test and disable failing test on SPv2. 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/FrameSelection.h
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
index 55710319706c7243216f9eb46691f2b372b90101..3761dda5677f206e7915eee5a6eb17cc815d240e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -187,7 +187,7 @@ public:
bool isCaretBoundsDirty() const;
void setCaretRectNeedsUpdate();
void scheduleVisualUpdate() const;
- void invalidateCaretRect();
+ void invalidateCaretRect(bool forceInvalidation = false);
void paintCaret(GraphicsContext&, const LayoutPoint&);
// Used to suspend caret blinking while the mouse is down.
@@ -246,6 +246,8 @@ public:
private:
friend class FrameSelectionTest;
+ friend class PaintControllerPaintTestForSlimmingPaintV1AndV2;
+ FRIEND_TEST_ALL_PREFIXES(PaintControllerPaintTestForSlimmingPaintV1AndV2, FullDocumentPaintingWithCaret);
explicit FrameSelection(LocalFrame*);
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameCaret.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698