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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 1836063003: rebase https://codereview.chromium.org/1484163002 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
index c4c46d5cd7d3185697c779d88760f44e29a12dce..d71d791c907738ef7adffe411a62de63d67a2de3 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
@@ -39,6 +39,7 @@ class GraphicsLayer;
class IntPoint;
class Page;
class LayoutPart;
+class Scrollbar;
class ScrollingCoordinator;
enum CompositingUpdateType {
@@ -210,6 +211,10 @@ private:
void applyOverlayFullscreenVideoAdjustmentIfNeeded();
+ // Checks the given graphics layer against the compositor's horizontal and vertical scrollbar
+ // graphics layers, returning the associated Scrollbar instance if any, else nullptr.
+ Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const;
+
LayoutView& m_layoutView;
OwnPtr<GraphicsLayer> m_rootContentLayer;

Powered by Google App Engine
This is Rietveld 408576698