webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
WebCore::ScrollbarThemeWin Class Reference

#include <ScrollbarThemeWin.h>

Inheritance diagram for WebCore::ScrollbarThemeWin:
WebCore::ScrollbarThemeComposite WebCore::ScrollbarTheme WebCore::ScrollbarTheme

Public Member Functions

 ScrollbarThemeWin ()
 
virtual ~ScrollbarThemeWin ()
 
int scrollbarThickness (ScrollbarControlSize=RegularScrollbar) override
 
void themeChanged () override
 
bool invalidateOnMouseEnterExit () override
 
IntRect backButtonRect (Scrollbar &, ScrollbarPart, bool painting=false) override
 
IntRect forwardButtonRect (Scrollbar &, ScrollbarPart, bool painting=false) override
 
IntRect trackRect (Scrollbar &, bool painting=false) override
 
- Public Member Functions inherited from WebCore::ScrollbarThemeComposite
bool paint (Scrollbar &, GraphicsContext &, const IntRect &damageRect) override
 
ScrollbarPart hitTest (Scrollbar &, const IntPoint &) override
 
void invalidatePart (Scrollbar &, ScrollbarPart) override
 
int thumbPosition (Scrollbar &) override
 
int thumbLength (Scrollbar &) override
 
int trackPosition (Scrollbar &) override
 
int trackLength (Scrollbar &) override
 
void paintScrollCorner (ScrollView *, GraphicsContext &, const IntRect &cornerRect) override
 
void paintOverhangAreas (ScrollView &, GraphicsContext &, const IntRect &horizontalOverhangArea, const IntRect &verticalOverhangArea, const IntRect &dirtyRect) override
 
virtual IntRect thumbRect (Scrollbar &)
 
virtual void splitTrack (Scrollbar &, const IntRect &track, IntRect &startTrack, IntRect &thumb, IntRect &endTrack)
 
virtual int minimumThumbLength (Scrollbar &)
 
virtual void willPaintScrollbar (GraphicsContext &, Scrollbar &)
 
virtual void didPaintScrollbar (GraphicsContext &, Scrollbar &)
 
virtual void paintScrollbarBackground (GraphicsContext &, Scrollbar &)
 
virtual IntRect constrainTrackRectToTrackPieces (Scrollbar &, const IntRect &rect)
 
bool paint (Scrollbar &, GraphicsContext &, const IntRect &damageRect) override
 
ScrollbarPart hitTest (Scrollbar &, const IntPoint &) override
 
void invalidatePart (Scrollbar &, ScrollbarPart) override
 
int thumbPosition (Scrollbar &) override
 
int thumbLength (Scrollbar &) override
 
int trackPosition (Scrollbar &) override
 
int trackLength (Scrollbar &) override
 
void paintScrollCorner (ScrollView *, GraphicsContext &, const IntRect &cornerRect) override
 
void paintOverhangAreas (ScrollView &, GraphicsContext &, const IntRect &horizontalOverhangArea, const IntRect &verticalOverhangArea, const IntRect &dirtyRect) override
 
virtual IntRect thumbRect (Scrollbar &)
 
virtual void splitTrack (Scrollbar &, const IntRect &track, IntRect &startTrack, IntRect &thumb, IntRect &endTrack)
 
virtual int minimumThumbLength (Scrollbar &)
 
virtual void willPaintScrollbar (GraphicsContext &, Scrollbar &)
 
virtual void didPaintScrollbar (GraphicsContext &, Scrollbar &)
 
virtual void paintScrollbarBackground (GraphicsContext &, Scrollbar &)
 
virtual IntRect constrainTrackRectToTrackPieces (Scrollbar &, const IntRect &rect)
 
- Public Member Functions inherited from WebCore::ScrollbarTheme
 ScrollbarTheme ()
 
virtual ~ScrollbarTheme ()
 
virtual void updateEnabledState (Scrollbar &)
 
virtual ScrollbarButtonsPlacement buttonsPlacement () const
 
virtual bool supportsControlTints () const
 
virtual bool usesOverlayScrollbars () const
 
virtual void usesOverlayScrollbarsChanged ()
 
virtual void updateScrollbarOverlayStyle (Scrollbar &)
 
void invalidateParts (Scrollbar &scrollbar, ScrollbarControlPartMask mask)
 
virtual void paintTickmarks (GraphicsContext &, Scrollbar &, const IntRect &)
 
virtual bool shouldDragDocumentInsteadOfThumb (Scrollbar &, const PlatformMouseEvent &)
 
virtual int maxOverlapBetweenPages ()
 
virtual double initialAutoscrollTimerDelay ()
 
virtual double autoscrollTimerDelay ()
 
virtual void registerScrollbar (Scrollbar &)
 
virtual void unregisterScrollbar (Scrollbar &)
 
virtual bool isMockTheme () const
 
 ScrollbarTheme ()
 
virtual ~ScrollbarTheme ()
 
virtual void updateEnabledState (Scrollbar &)
 
virtual ScrollbarButtonsPlacement buttonsPlacement () const
 
virtual bool supportsControlTints () const
 
virtual bool usesOverlayScrollbars () const
 
virtual void usesOverlayScrollbarsChanged ()
 
virtual void updateScrollbarOverlayStyle (Scrollbar &)
 
void invalidateParts (Scrollbar &scrollbar, ScrollbarControlPartMask mask)
 
virtual void paintTickmarks (GraphicsContext &, Scrollbar &, const IntRect &)
 
virtual bool shouldDragDocumentInsteadOfThumb (Scrollbar &, const PlatformMouseEvent &)
 
virtual int maxOverlapBetweenPages ()
 
virtual double initialAutoscrollTimerDelay ()
 
virtual double autoscrollTimerDelay ()
 
virtual void registerScrollbar (Scrollbar &)
 
virtual void unregisterScrollbar (Scrollbar &)
 
virtual bool isMockTheme () const
 

Protected Member Functions

bool hasButtons (Scrollbar &) override
 
bool hasThumb (Scrollbar &) override
 
ScrollbarButtonPressAction handleMousePressEvent (Scrollbar &, const PlatformMouseEvent &, ScrollbarPart) override
 
bool shouldSnapBackToDragOrigin (Scrollbar &, const PlatformMouseEvent &) override
 
void paintTrackBackground (GraphicsContext &, Scrollbar &, const IntRect &) override
 
void paintTrackPiece (GraphicsContext &, Scrollbar &, const IntRect &, ScrollbarPart) override
 
void paintButton (GraphicsContext &, Scrollbar &, const IntRect &, ScrollbarPart) override
 
void paintThumb (GraphicsContext &, Scrollbar &, const IntRect &) override
 

Additional Inherited Members

- Static Public Member Functions inherited from WebCore::ScrollbarTheme
static void defaultPaintScrollCorner (GraphicsContext &context, const IntRect &cornerRect)
 
static WEBCORE_EXPORT ScrollbarThemetheme ()
 
static void defaultPaintScrollCorner (GraphicsContext &context, const IntRect &cornerRect)
 
static WEBCORE_EXPORT ScrollbarThemetheme ()
 

Constructor & Destructor Documentation

◆ ScrollbarThemeWin()

WebCore::ScrollbarThemeWin::ScrollbarThemeWin ( )

◆ ~ScrollbarThemeWin()

WebCore::ScrollbarThemeWin::~ScrollbarThemeWin ( )
virtual

Member Function Documentation

◆ backButtonRect()

IntRect WebCore::ScrollbarThemeWin::backButtonRect ( Scrollbar scrollbar,
ScrollbarPart  part,
bool  painting = false 
)
overridevirtual

◆ forwardButtonRect()

IntRect WebCore::ScrollbarThemeWin::forwardButtonRect ( Scrollbar scrollbar,
ScrollbarPart  part,
bool  painting = false 
)
overridevirtual

◆ handleMousePressEvent()

ScrollbarButtonPressAction WebCore::ScrollbarThemeWin::handleMousePressEvent ( Scrollbar ,
const PlatformMouseEvent event,
ScrollbarPart  pressedPart 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarTheme.

◆ hasButtons()

bool WebCore::ScrollbarThemeWin::hasButtons ( Scrollbar )
inlineoverrideprotectedvirtual

◆ hasThumb()

bool WebCore::ScrollbarThemeWin::hasThumb ( Scrollbar scrollbar)
overrideprotectedvirtual

◆ invalidateOnMouseEnterExit()

bool WebCore::ScrollbarThemeWin::invalidateOnMouseEnterExit ( )
overridevirtual

Reimplemented from WebCore::ScrollbarTheme.

◆ paintButton()

void WebCore::ScrollbarThemeWin::paintButton ( GraphicsContext context,
Scrollbar scrollbar,
const IntRect rect,
ScrollbarPart  part 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarThemeComposite.

◆ paintThumb()

void WebCore::ScrollbarThemeWin::paintThumb ( GraphicsContext context,
Scrollbar scrollbar,
const IntRect rect 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarThemeComposite.

◆ paintTrackBackground()

void WebCore::ScrollbarThemeWin::paintTrackBackground ( GraphicsContext context,
Scrollbar scrollbar,
const IntRect rect 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarThemeComposite.

◆ paintTrackPiece()

void WebCore::ScrollbarThemeWin::paintTrackPiece ( GraphicsContext context,
Scrollbar scrollbar,
const IntRect rect,
ScrollbarPart  partType 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarThemeComposite.

◆ scrollbarThickness()

int WebCore::ScrollbarThemeWin::scrollbarThickness ( ScrollbarControlSize  = RegularScrollbar)
overridevirtual

Reimplemented from WebCore::ScrollbarTheme.

◆ shouldSnapBackToDragOrigin()

bool WebCore::ScrollbarThemeWin::shouldSnapBackToDragOrigin ( Scrollbar scrollbar,
const PlatformMouseEvent evt 
)
overrideprotectedvirtual

Reimplemented from WebCore::ScrollbarTheme.

◆ themeChanged()

void WebCore::ScrollbarThemeWin::themeChanged ( )
overridevirtual

Reimplemented from WebCore::ScrollbarTheme.

◆ trackRect()

IntRect WebCore::ScrollbarThemeWin::trackRect ( Scrollbar scrollbar,
bool  painting = false 
)
overridevirtual

The documentation for this class was generated from the following files: