webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::RenderThemeGtk Class Referencefinal

#include <RenderThemeGtk.h>

Inheritance diagram for WebCore::RenderThemeGtk:
WebCore::RenderTheme WTF::RefCounted< RenderTheme > WTF::RefCounted< RenderTheme > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

bool supportsHover (const RenderStyle &) const override
 
bool supportsFocusRing (const RenderStyle &) const override
 
bool controlSupportsTints (const RenderObject &) const override
 
bool supportsControlTints () const override
 
void adjustRepaintRect (const RenderObject &, FloatRect &) override
 
int baselinePosition (const RenderBox &) const override
 
Color platformActiveSelectionBackgroundColor () const override
 
Color platformInactiveSelectionBackgroundColor () const override
 
Color platformActiveSelectionForegroundColor () const override
 
Color platformInactiveSelectionForegroundColor () const override
 
Color platformActiveListBoxSelectionBackgroundColor () const override
 
Color platformActiveListBoxSelectionForegroundColor () const override
 
Color platformInactiveListBoxSelectionBackgroundColor () const override
 
Color platformInactiveListBoxSelectionForegroundColor () const override
 
double caretBlinkInterval () const override
 
void platformColorsDidChange () override
 
Color systemColor (CSSValueID) const override
 
bool popsMenuBySpaceOrReturn () const override
 
bool shouldHaveCapsLockIndicator (const HTMLInputElement &) const override
 
- Public Member Functions inherited from WebCore::RenderTheme
virtual ~RenderTheme ()
 
virtual void purgeCaches ()
 
void adjustStyle (StyleResolver &, RenderStyle &, const Element *, bool UAHasAppearance, const BorderData &, const FillLayer &, const Color &backgroundColor)
 
bool paint (const RenderBox &, ControlStates &, const PaintInfo &, const LayoutRect &)
 
bool paintBorderOnly (const RenderBox &, const PaintInfo &, const LayoutRect &)
 
bool paintDecorations (const RenderBox &, const PaintInfo &, const LayoutRect &)
 
virtual String extraDefaultStyleSheet ()
 
virtual String extraQuirksStyleSheet ()
 
virtual String extraPlugInsStyleSheet ()
 
bool isControlContainer (ControlPart) const
 
virtual bool isControlStyled (const RenderStyle &, const BorderData &, const FillLayer &, const Color &backgroundColor) const
 
virtual bool stateChanged (const RenderObject &, ControlStates::States) const
 
virtual void themeChanged ()
 
virtual bool supportsDataListUI (const AtomicString &) const
 
Color activeSelectionBackgroundColor () const
 
Color inactiveSelectionBackgroundColor () const
 
Color activeSelectionForegroundColor () const
 
Color inactiveSelectionForegroundColor () const
 
Color activeListBoxSelectionBackgroundColor () const
 
Color activeListBoxSelectionForegroundColor () const
 
Color inactiveListBoxSelectionBackgroundColor () const
 
Color inactiveListBoxSelectionForegroundColor () const
 
virtual Color platformActiveTextSearchHighlightColor () const
 
virtual Color platformInactiveTextSearchHighlightColor () const
 
virtual Color disabledTextColor (const Color &textColor, const Color &backgroundColor) const
 
virtual Color platformFocusRingColor () const
 
void systemFont (CSSValueID, FontCascadeDescription &) const
 
virtual int minimumMenuListSize (const RenderStyle &) const
 
virtual bool popupOptionSupportsTextIndent () const
 
virtual PopupMenuStyle::PopupMenuSize popupMenuSize (const RenderStyle &, IntRect &) const
 
virtual ScrollbarControlSize scrollbarControlSizeForPart (ControlPart)
 
virtual bool shouldHaveSpinButton (const HTMLInputElement &) const
 
virtual bool delegatesMenuListRendering () const
 
virtual bool popsMenuByArrowKeys () const
 
virtual String fileListDefaultLabel (bool multipleFilesAllowed) const
 
virtual bool paintFileUploadIconDecorations (const RenderObject &, const RenderObject &, const PaintInfo &, const IntRect &, Icon *, FileUploadDecorations)
 
void updateControlStatesForRenderer (const RenderBox &, ControlStates &) const
 
ControlStates::States extractControlStatesForRenderer (const RenderObject &) const
 
bool isActive (const RenderObject &) const
 
bool isChecked (const RenderObject &) const
 
bool isIndeterminate (const RenderObject &) const
 
bool isEnabled (const RenderObject &) const
 
bool isFocused (const RenderObject &) const
 
bool isPressed (const RenderObject &) const
 
bool isSpinUpButtonPartPressed (const RenderObject &) const
 
bool isHovered (const RenderObject &) const
 
bool isSpinUpButtonPartHovered (const RenderObject &) const
 
bool isReadOnlyControl (const RenderObject &) const
 
bool isDefault (const RenderObject &) const
 
virtual ~RenderTheme ()
 
virtual void purgeCaches ()
 
void adjustStyle (StyleResolver &, RenderStyle &, const Element *, bool UAHasAppearance, const BorderData &, const FillLayer &, const Color &backgroundColor)
 
bool paint (const RenderBox &, ControlStates &, const PaintInfo &, const LayoutRect &)
 
bool paintBorderOnly (const RenderBox &, const PaintInfo &, const LayoutRect &)
 
bool paintDecorations (const RenderBox &, const PaintInfo &, const LayoutRect &)
 
virtual String extraDefaultStyleSheet ()
 
virtual String extraQuirksStyleSheet ()
 
virtual String extraPlugInsStyleSheet ()
 
bool isControlContainer (ControlPart) const
 
virtual bool isControlStyled (const RenderStyle &, const BorderData &, const FillLayer &, const Color &backgroundColor) const
 
virtual bool stateChanged (const RenderObject &, ControlStates::States) const
 
virtual void themeChanged ()
 
virtual bool supportsDataListUI (const AtomicString &) const
 
Color activeSelectionBackgroundColor () const
 
Color inactiveSelectionBackgroundColor () const
 
Color activeSelectionForegroundColor () const
 
Color inactiveSelectionForegroundColor () const
 
Color activeListBoxSelectionBackgroundColor () const
 
Color activeListBoxSelectionForegroundColor () const
 
Color inactiveListBoxSelectionBackgroundColor () const
 
Color inactiveListBoxSelectionForegroundColor () const
 
virtual Color platformActiveTextSearchHighlightColor () const
 
virtual Color platformInactiveTextSearchHighlightColor () const
 
virtual Color disabledTextColor (const Color &textColor, const Color &backgroundColor) const
 
virtual Color platformFocusRingColor () const
 
void systemFont (CSSValueID, FontCascadeDescription &) const
 
virtual int minimumMenuListSize (const RenderStyle &) const
 
virtual bool popupOptionSupportsTextIndent () const
 
virtual PopupMenuStyle::PopupMenuSize popupMenuSize (const RenderStyle &, IntRect &) const
 
virtual ScrollbarControlSize scrollbarControlSizeForPart (ControlPart)
 
virtual bool shouldHaveSpinButton (const HTMLInputElement &) const
 
virtual bool delegatesMenuListRendering () const
 
virtual bool popsMenuByArrowKeys () const
 
virtual String fileListDefaultLabel (bool multipleFilesAllowed) const
 
virtual bool paintFileUploadIconDecorations (const RenderObject &, const RenderObject &, const PaintInfo &, const IntRect &, Icon *, FileUploadDecorations)
 
void updateControlStatesForRenderer (const RenderBox &, ControlStates &) const
 
ControlStates::States extractControlStatesForRenderer (const RenderObject &) const
 
bool isActive (const RenderObject &) const
 
bool isChecked (const RenderObject &) const
 
bool isIndeterminate (const RenderObject &) const
 
bool isEnabled (const RenderObject &) const
 
bool isFocused (const RenderObject &) const
 
bool isPressed (const RenderObject &) const
 
bool isSpinUpButtonPartPressed (const RenderObject &) const
 
bool isHovered (const RenderObject &) const
 
bool isSpinUpButtonPartHovered (const RenderObject &) const
 
bool isReadOnlyControl (const RenderObject &) const
 
bool isDefault (const RenderObject &) const
 
- Public Member Functions inherited from WTF::RefCounted< RenderTheme >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< RenderThemecreate ()
 
- Static Public Member Functions inherited from WebCore::RenderTheme
static Ref< RenderThemethemeForPage (Page *)
 
static Ref< RenderThemedefaultTheme ()
 
static Color focusRingColor ()
 
static void setCustomFocusRingColor (const Color &)
 
static float platformFocusRingWidth ()
 
static float platformFocusRingOffset (float outlineWidth)
 
static Ref< RenderThemethemeForPage (Page *)
 
static Ref< RenderThemedefaultTheme ()
 
static Color focusRingColor ()
 
static void setCustomFocusRingColor (const Color &)
 
static float platformFocusRingWidth ()
 
static float platformFocusRingOffset (float outlineWidth)
 

Additional Inherited Members

- Public Types inherited from WebCore::RenderTheme
enum  FileUploadDecorations { SingleFile, MultipleFiles, SingleFile, MultipleFiles }
 
enum  InnerSpinButtonLayout {
  InnerSpinButtonLayout::Vertical, InnerSpinButtonLayout::HorizontalUpLeft, InnerSpinButtonLayout::HorizontalUpRight, InnerSpinButtonLayout::Vertical,
  InnerSpinButtonLayout::HorizontalUpLeft, InnerSpinButtonLayout::HorizontalUpRight
}
 
enum  FileUploadDecorations { SingleFile, MultipleFiles, SingleFile, MultipleFiles }
 
enum  InnerSpinButtonLayout {
  InnerSpinButtonLayout::Vertical, InnerSpinButtonLayout::HorizontalUpLeft, InnerSpinButtonLayout::HorizontalUpRight, InnerSpinButtonLayout::Vertical,
  InnerSpinButtonLayout::HorizontalUpLeft, InnerSpinButtonLayout::HorizontalUpRight
}
 
- Protected Member Functions inherited from WebCore::RenderTheme
 RenderTheme ()
 
virtual FontCascadeDescriptioncachedSystemFontDescription (CSSValueID systemFontID) const
 
virtual bool supportsSelectionForegroundColors () const
 
virtual bool supportsListBoxSelectionForegroundColors () const
 
virtual void adjustCheckboxStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual void adjustRadioStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual void setButtonSize (RenderStyle &) const
 
virtual bool paintCheckboxDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintRadioDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintTextFieldDecorations (const RenderObject &, const PaintInfo &, const FloatRect &)
 
virtual void adjustTextAreaStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintTextAreaDecorations (const RenderObject &, const PaintInfo &, const FloatRect &)
 
virtual bool paintMenuListDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintPushButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSquareButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustCapsLockIndicatorStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintCapsLockIndicator (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSliderThumbDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSearchFieldDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustSearchFieldDecorationPartStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintSearchFieldDecorationPart (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustMediaControlStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintMediaFullscreenButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaPlayButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaOverlayPlayButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaMuteButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSeekBackButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSeekForwardButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderContainer (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaRewindButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaReturnToRealtimeButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaToggleClosedCaptionsButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaControlsBackground (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaCurrentTime (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaTimeRemaining (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaFullScreenVolumeSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaFullScreenVolumeSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSnapshottedPluginOverlay (const RenderObject &, const PaintInfo &, const IntRect &)
 
 RenderTheme ()
 
virtual FontCascadeDescriptioncachedSystemFontDescription (CSSValueID systemFontID) const
 
virtual bool supportsSelectionForegroundColors () const
 
virtual bool supportsListBoxSelectionForegroundColors () const
 
virtual void adjustCheckboxStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual void adjustRadioStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual void setButtonSize (RenderStyle &) const
 
virtual bool paintCheckboxDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintRadioDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintTextFieldDecorations (const RenderObject &, const PaintInfo &, const FloatRect &)
 
virtual void adjustTextAreaStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintTextAreaDecorations (const RenderObject &, const PaintInfo &, const FloatRect &)
 
virtual bool paintMenuListDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintPushButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSquareButtonDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustCapsLockIndicatorStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintCapsLockIndicator (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSliderThumbDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSearchFieldDecorations (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustSearchFieldDecorationPartStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintSearchFieldDecorationPart (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual void adjustMediaControlStyle (StyleResolver &, RenderStyle &, const Element *) const
 
virtual bool paintMediaFullscreenButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaPlayButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaOverlayPlayButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaMuteButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSeekBackButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSeekForwardButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderContainer (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaVolumeSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaRewindButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaReturnToRealtimeButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaToggleClosedCaptionsButton (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaControlsBackground (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaCurrentTime (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaTimeRemaining (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaFullScreenVolumeSliderTrack (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintMediaFullScreenVolumeSliderThumb (const RenderObject &, const PaintInfo &, const IntRect &)
 
virtual bool paintSnapshottedPluginOverlay (const RenderObject &, const PaintInfo &, const IntRect &)
 
- Protected Member Functions inherited from WTF::RefCounted< RenderTheme >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Function Documentation

◆ adjustRepaintRect()

void WebCore::RenderThemeGtk::adjustRepaintRect ( const RenderObject renderObject,
FloatRect rect 
)
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ baselinePosition()

int WebCore::RenderThemeGtk::baselinePosition ( const RenderBox box) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ caretBlinkInterval()

double WebCore::RenderThemeGtk::caretBlinkInterval ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ controlSupportsTints()

bool WebCore::RenderThemeGtk::controlSupportsTints ( const RenderObject o) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ create()

Ref< RenderTheme > WebCore::RenderThemeGtk::create ( )
static

◆ platformActiveListBoxSelectionBackgroundColor()

Color WebCore::RenderThemeGtk::platformActiveListBoxSelectionBackgroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformActiveListBoxSelectionForegroundColor()

Color WebCore::RenderThemeGtk::platformActiveListBoxSelectionForegroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformActiveSelectionBackgroundColor()

Color WebCore::RenderThemeGtk::platformActiveSelectionBackgroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformActiveSelectionForegroundColor()

Color WebCore::RenderThemeGtk::platformActiveSelectionForegroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformColorsDidChange()

void WebCore::RenderThemeGtk::platformColorsDidChange ( )
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformInactiveListBoxSelectionBackgroundColor()

Color WebCore::RenderThemeGtk::platformInactiveListBoxSelectionBackgroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformInactiveListBoxSelectionForegroundColor()

Color WebCore::RenderThemeGtk::platformInactiveListBoxSelectionForegroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformInactiveSelectionBackgroundColor()

Color WebCore::RenderThemeGtk::platformInactiveSelectionBackgroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ platformInactiveSelectionForegroundColor()

Color WebCore::RenderThemeGtk::platformInactiveSelectionForegroundColor ( ) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ popsMenuBySpaceOrReturn()

bool WebCore::RenderThemeGtk::popsMenuBySpaceOrReturn ( ) const
inlineoverridevirtual

Reimplemented from WebCore::RenderTheme.

◆ shouldHaveCapsLockIndicator()

bool WebCore::RenderThemeGtk::shouldHaveCapsLockIndicator ( const HTMLInputElement element) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ supportsControlTints()

bool WebCore::RenderThemeGtk::supportsControlTints ( ) const
inlineoverridevirtual

Reimplemented from WebCore::RenderTheme.

◆ supportsFocusRing()

bool WebCore::RenderThemeGtk::supportsFocusRing ( const RenderStyle style) const
overridevirtual

Reimplemented from WebCore::RenderTheme.

◆ supportsHover()

bool WebCore::RenderThemeGtk::supportsHover ( const RenderStyle ) const
inlineoverridevirtual

Reimplemented from WebCore::RenderTheme.

◆ systemColor()

Color WebCore::RenderThemeGtk::systemColor ( CSSValueID  cssValueId) const
overridevirtual

Reimplemented from WebCore::RenderTheme.


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