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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbar.h

Issue 1406133005: Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/layout/LayoutScrollbar.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.h b/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
index b67a9016531414283ffded417942e2090c092d3d..defe3a9aa2ca9529ff727e0b4a1d3bccb7f23f7d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
@@ -33,11 +33,13 @@
namespace blink {
-class LocalFrame;
-class Node;
+class ComputedStyle;
class LayoutBox;
+class LayoutBoxModelObject;
class LayoutScrollbarPart;
-class ComputedStyle;
+class LocalFrame;
+class Node;
+class PaintInvalidationState;
class LayoutScrollbar final : public Scrollbar {
public:
@@ -58,7 +60,7 @@ public:
LayoutScrollbarPart* getPart(ScrollbarPart partType) { return m_parts.get(partType); }
const LayoutScrollbarPart* getPart(ScrollbarPart partType) const { return m_parts.get(partType); }
- void invalidateRect(const IntRect&) override;
+ void invalidateDisplayItemClientsOfScrollbarParts(const LayoutBoxModelObject& paintInvalidationContainer, const LayoutRect& paintInvalidationRect);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698