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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 2942163002: [Refactor] Moved scrollbar creation and deletion to ScrollbarManager (Closed)
Patch Set: change ShouldUseCustomScrollbars Created 3 years, 6 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/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 1878aed0040caf1982cd3ed901de239c95af20b6..1d458febfe0c82072c802eef1227f7f9a823db2c 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -131,6 +131,9 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin,
virtual void ContentsResized();
+ virtual LayoutObject* LayoutObjectForScrollbars() const { return nullptr; }
bokan 2017/06/27 17:48:52 Lets call this LayoutObjectForScrollbarStyle. Also
+ virtual bool ShouldUseCustomScrollbars(LayoutObject*&) const { return false; }
+
bool HasOverlayScrollbars() const;
void SetScrollbarOverlayColorTheme(ScrollbarOverlayColorTheme);
void RecalculateScrollbarOverlayColorTheme(Color);

Powered by Google App Engine
This is Rietveld 408576698