summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h b/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h
index 11e38dc4927..7561489f69c 100644
--- a/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h
+++ b/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_client.h
@@ -35,6 +35,7 @@ namespace blink {
class GraphicsContext;
class GraphicsLayer;
class IntRect;
+class ScrollableArea;
enum GraphicsLayerPaintingPhaseFlags {
kGraphicsLayerPaintBackground = (1 << 0),
@@ -94,8 +95,15 @@ class PLATFORM_EXPORT GraphicsLayerClient {
virtual bool IsTrackingRasterInvalidations() const { return false; }
+ virtual void SetOverlayScrollbarsHidden(bool) {}
+
virtual String DebugName(const GraphicsLayer*) const = 0;
+ virtual const ScrollableArea* GetScrollableAreaForTesting(
+ const GraphicsLayer*) const {
+ return nullptr;
+ }
+
#if DCHECK_IS_ON()
// CompositedLayerMapping overrides this to verify that it is not
// currently painting contents. An ASSERT fails, if it is.