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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2737043002: Fix caret paint invalidation issue on partial lifecycle updates (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 GeometryMapper& geometryMapper(); 835 GeometryMapper& geometryMapper();
836 836
837 void crossOriginStatusChanged(); 837 void crossOriginStatusChanged();
838 838
839 // The visual viewport can supply scrollbars which affect the existence of 839 // The visual viewport can supply scrollbars which affect the existence of
840 // our scrollbars (see: computeScrollbarExistence). 840 // our scrollbars (see: computeScrollbarExistence).
841 void visualViewportScrollbarsChanged(); 841 void visualViewportScrollbarsChanged();
842 842
843 LayoutUnit caretWidth() const; 843 LayoutUnit caretWidth() const;
844 844
845 void updateCaretsForPaintInvalidation();
846
845 protected: 847 protected:
846 // Scroll the content via the compositor. 848 // Scroll the content via the compositor.
847 bool scrollContentsFastPath(const IntSize& scrollDelta); 849 bool scrollContentsFastPath(const IntSize& scrollDelta);
848 850
849 // Scroll the content by invalidating everything. 851 // Scroll the content by invalidating everything.
850 void scrollContentsSlowPath(); 852 void scrollContentsSlowPath();
851 853
852 ScrollBehavior scrollBehaviorStyle() const override; 854 ScrollBehavior scrollBehaviorStyle() const override;
853 855
854 void scrollContentsIfNeeded(); 856 void scrollContentsIfNeeded();
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 frameViewBase.isFrameView()); 1264 frameViewBase.isFrameView());
1263 DEFINE_TYPE_CASTS(FrameView, 1265 DEFINE_TYPE_CASTS(FrameView,
1264 ScrollableArea, 1266 ScrollableArea,
1265 scrollableArea, 1267 scrollableArea,
1266 scrollableArea->isFrameView(), 1268 scrollableArea->isFrameView(),
1267 scrollableArea.isFrameView()); 1269 scrollableArea.isFrameView());
1268 1270
1269 } // namespace blink 1271 } // namespace blink
1270 1272
1271 #endif // FrameView_h 1273 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698