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

Unified Diff: third_party/WebKit/Source/core/paint/ScrollbarManager.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/core/paint/ScrollbarManager.h
diff --git a/third_party/WebKit/Source/core/paint/ScrollbarManager.h b/third_party/WebKit/Source/core/paint/ScrollbarManager.h
index 09dac5b1349693cf1ad31b006eeb7abf0c6d846d..01f2dcd0977ff9ca5920f676f86b4b3d0f6c0775 100644
--- a/third_party/WebKit/Source/core/paint/ScrollbarManager.h
+++ b/third_party/WebKit/Source/core/paint/ScrollbarManager.h
@@ -34,11 +34,9 @@ class CORE_EXPORT ScrollbarManager {
DECLARE_VIRTUAL_TRACE();
- protected:
- // TODO(ymalik): This can be made non-virtual since there's a lot of
- // common code in subclasses.
- virtual Scrollbar* CreateScrollbar(ScrollbarOrientation) = 0;
- virtual void DestroyScrollbar(ScrollbarOrientation) = 0;
+ Scrollbar* CreateScrollbar(ScrollbarOrientation);
+
+ void DestroyScrollbar(ScrollbarOrientation);
protected:
Member<ScrollableArea> scrollable_area_;

Powered by Google App Engine
This is Rietveld 408576698