Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
index eb2188d991bef84d430ee3ae6369dca28dc90d9a..1ca0c3fc079be2af2460f1adbacfc0f7cd184bed 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
@@ -121,6 +121,10 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin { |
virtual void didAddScrollbar(Scrollbar&, ScrollbarOrientation); |
virtual void willRemoveScrollbar(Scrollbar&, ScrollbarOrientation); |
+ // Called when this ScrollableArea becomes or unbecomes the global root |
+ // scroller. |
+ virtual void didChangeGlobalRootScroller() {} |
+ |
virtual void contentsResized(); |
bool hasOverlayScrollbars() const; |