Chromium Code Reviews
DescriptionSplit ScrollbarThemeMac into Overlay and NonOverlay subclasses
This is the first of two steps. The second will move the new
subclasses into their own files.
Move the static variables to be scoped to the classes that access
them (Common, Overlay, or NonOverlay). This separation is fairly
simple, with the exception of gButtonPlacement which (less
obviously) is always ScrollbarButtonsNone for Overlay (and as such
can be made NonOverlay-only.
Duplicate scrollbarMap to scrollbarPainterMap -- this served
two functions before (1) enumerating all scrollbar clients so
that their properties could be updated and (2) mapping overlay
scrollbar clients to their ScrollbarPainter. Now use two separate
structures for the two separate functions.
BUG=133093
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155296
Patch Set 1 #Patch Set 2 : Next #Patch Set 3 : Clean up #
Total comments: 15
Patch Set 4 : Incorporate review feedbac #
Total comments: 8
Patch Set 5 : Incorporate review feedback #Patch Set 6 : Rebase #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||