Lines Matching full:cell
68 // parent view for cell rendering.
588 // Updates the control tint (a.k.a. active state) of |cell| (from |o|).
597 void RenderThemeChromiumMac::updateActiveState(NSCell* cell, const RenderObject* o)
599 NSControlTint oldTint = [cell controlTint];
604 [cell setControlTint:tint];
607 void RenderThemeChromiumMac::updateCheckedState(NSCell* cell, const RenderObject* o)
609 bool oldIndeterminate = [cell state] == NSMixedState;
614 [cell setState:indeterminate ? NSMixedState : (checked ? NSOnState : NSOffState)];
618 bool oldChecked = [cell state] == NSOnState;
620 [cell setState:checked ? NSOnState : NSOffState];
623 void RenderThemeChromiumMac::updateEnabledState(NSCell* cell, const RenderObject* o)
625 bool oldEnabled = [cell isEnabled];
628 [cell setEnabled:enabled];
631 void RenderThemeChromiumMac::updateFocusedState(NSCell* cell, const RenderObject* o)
633 bool oldFocused = [cell showsFirstResponder];
636 [cell setShowsFirstResponder:focused];
639 void RenderThemeChromiumMac::updatePressedState(NSCell* cell, const RenderObject* o)
641 bool oldPressed = [cell isHighlighted];
644 [cell setHighlighted:pressed];
649 // An alternate way to implement this would be to get the appropriate cell object
675 void RenderThemeChromiumMac::setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minSize, float zoomLevel)
686 if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the size is the same.
687 [cell setControlSize:size];
826 // On Leopard, the cell will draw outside of the given rect, so we have to clip to the rect