Home | History | Annotate | Download | only in chromium

Lines Matching full:webthemeengine

43 using WebKit::WebThemeEngine;
93 WebThemeEngine::State state,
94 WebThemeEngine::Size size,
96 const WebThemeEngine::ScrollbarInfo& scrollbarInfo)
99 if (scrollbarInfo.parent == WebThemeEngine::ScrollbarParentRenderLayer)
105 static ThemeTrackEnableState stateToHIEnableState(WebThemeEngine::State state)
108 case WebThemeEngine::StateDisabled:
110 case WebThemeEngine::StateInactive:
118 // Chromium WebThemeEngine implementation.
121 WebThemeEngine::State state,
122 WebThemeEngine::Size size,
124 const WebThemeEngine::ScrollbarInfo& scrollbarInfo)
128 trackInfo.kind = size == WebThemeEngine::SizeRegular ? kThemeMediumScrollBar : kThemeSmallScrollBar;
135 if (scrollbarInfo.orientation == WebThemeEngine::ScrollbarOrientationHorizontal)
141 state == WebThemeEngine::StatePressed ? kThemeThumbPressed : 0;
148 WebThemeEngine::State state,
149 WebThemeEngine::Size size,
151 const WebThemeEngine::ScrollbarInfo& scrollbarInfo)
154 [scroller setEnabled:state != WebThemeEngine::StateDisabled];
155 if (state == WebThemeEngine::StateInactive)
160 [scroller setControlSize:size == WebThemeEngine::SizeRegular ? NSRegularControlSize : NSSmallControlSize];