Lines Matching full:webthemeengine
70 #include "win/WebThemeEngine.h"
74 #include "linux/WebThemeEngine.h"
80 #include "mac/WebThemeEngine.h"
784 static WebThemeEngine::Part WebThemePart(PlatformBridge::ThemePart part)
787 case PlatformBridge::PartScrollbarDownArrow: return WebThemeEngine::PartScrollbarDownArrow;
788 case PlatformBridge::PartScrollbarLeftArrow: return WebThemeEngine::PartScrollbarLeftArrow;
789 case PlatformBridge::PartScrollbarRightArrow: return WebThemeEngine::PartScrollbarRightArrow;
790 case PlatformBridge::PartScrollbarUpArrow: return WebThemeEngine::PartScrollbarUpArrow;
791 case PlatformBridge::PartScrollbarHorizontalThumb: return WebThemeEngine::PartScrollbarHorizontalThumb;
792 case PlatformBridge::PartScrollbarVerticalThumb: return WebThemeEngine::PartScrollbarVerticalThumb;
793 case PlatformBridge::PartScrollbarHorizontalTrack: return WebThemeEngine::PartScrollbarHorizontalTrack;
794 case PlatformBridge::PartScrollbarVerticalTrack: return WebThemeEngine::PartScrollbarVerticalTrack;
795 case PlatformBridge::PartCheckbox: return WebThemeEngine::PartCheckbox;
796 case PlatformBridge::PartRadio: return WebThemeEngine::PartRadio;
797 case PlatformBridge::PartButton: return WebThemeEngine::PartButton;
798 case PlatformBridge::PartTextField: return WebThemeEngine::PartTextField;
799 case PlatformBridge::PartMenuList: return WebThemeEngine::PartMenuList;
800 case PlatformBridge::PartSliderTrack: return WebThemeEngine::PartSliderTrack;
801 case PlatformBridge::PartSliderThumb: return WebThemeEngine::PartSliderThumb;
802 case PlatformBridge::PartInnerSpinButton: return WebThemeEngine::PartInnerSpinButton;
803 case PlatformBridge::PartProgressBar: return WebThemeEngine::PartProgressBar;
806 return WebThemeEngine::PartScrollbarDownArrow;
809 static WebThemeEngine::State WebThemeState(PlatformBridge::ThemePaintState state)
812 case PlatformBridge::StateDisabled: return WebThemeEngine::StateDisabled;
813 case PlatformBridge::StateHover: return WebThemeEngine::StateHover;
814 case PlatformBridge::StateNormal: return WebThemeEngine::StateNormal;
815 case PlatformBridge::StatePressed: return WebThemeEngine::StatePressed;
818 return WebThemeEngine::StateDisabled;
821 static void GetWebThemeExtraParams(PlatformBridge::ThemePart part, PlatformBridge::ThemePaintState state, const PlatformBridge::ThemePaintExtraParams* extraParams, WebThemeEngine::ExtraParams* webThemeExtraParams)
884 WebThemeEngine::ExtraParams webThemeExtraParams;
895 WebThemeEngine::ScrollbarInfo webThemeScrollbarInfo;
897 webThemeScrollbarInfo.orientation = static_cast<WebThemeEngine::ScrollbarOrientation>(scrollbarInfo.orientation);
898 webThemeScrollbarInfo.parent = static_cast<WebThemeEngine::ScrollbarParent>(scrollbarInfo.parent);
906 static_cast<WebThemeEngine::State>(state),
907 static_cast<WebThemeEngine::Size>(size),