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

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

Issue 2942163002: [Refactor] Moved scrollbar creation and deletion to ScrollbarManager (Closed)
Patch Set: bokan and skobes comments addressed 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..9eada9eae2e8bf8c1c55c6204f9cadae55eb0726 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -131,6 +131,12 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin,
virtual void ContentsResized();
+ // TODO(chaopeng) Move LayoutObjectForScrollbarStyle out of ScrollableArea
+ // into a new interface class with crbug.com/661236.
+ virtual LayoutObject* LayoutObjectForScrollbarStyle() const {
+ return nullptr;
+ }
+
bool HasOverlayScrollbars() const;
void SetScrollbarOverlayColorTheme(ScrollbarOverlayColorTheme);
void RecalculateScrollbarOverlayColorTheme(Color);

Powered by Google App Engine
This is Rietveld 408576698