public:
static PassRefPtr<RenderTheme> create();
- virtual void adjustRepaintRect(const RenderObject*, IntRect&) OVERRIDE;
+ virtual void adjustPaintInvalidationRect(const RenderObject*, IntRect&) OVERRIDE;
virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle*) const OVERRIDE;
virtual bool supportsSelectionForegroundColors() const OVERRIDE { return false; }
+ virtual bool isModalColorChooser() const { return false; }
+
protected:
RenderThemeChromiumMac();
virtual ~RenderThemeChromiumMac();
private:
virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, int width) const OVERRIDE;
- IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f) const;
-
FloatRect convertToPaintingRect(const RenderObject* inputRenderer, const RenderObject* partRenderer, const FloatRect& inputRect, const IntRect&) const;
// Get the control size based off the font. Used by some of the controls (like buttons).
NSPopUpButtonCell* popupButton() const;
NSSearchFieldCell* search() const;
- NSMenu* searchMenuTemplate() const;
NSTextFieldCell* textField() const;
NSLevelIndicatorStyle levelIndicatorStyleFor(ControlPart) const;