| Index: third_party/WebKit/Source/platform/mac/ThemeMac.h
|
| diff --git a/third_party/WebKit/Source/platform/mac/ThemeMac.h b/third_party/WebKit/Source/platform/mac/ThemeMac.h
|
| index f9ed642df679f7803ac3a1dc6b8bf0761fe663d8..f364f2b9fdf766b7782fe9a174d925989bd660e6 100644
|
| --- a/third_party/WebKit/Source/platform/mac/ThemeMac.h
|
| +++ b/third_party/WebKit/Source/platform/mac/ThemeMac.h
|
| @@ -47,7 +47,6 @@ public:
|
|
|
| virtual bool controlRequiresPreWhiteSpace(ControlPart part) const { return part == PushButtonPart; }
|
|
|
| - virtual void paint(ControlPart, ControlStates, GraphicsContext&, const IntRect&, float zoomFactor, ScrollableArea*) const;
|
| virtual void addVisualOverflow(ControlPart, ControlStates, float zoomFactor, IntRect& borderBox) const;
|
|
|
| // Inflate an IntRect to accout for specific padding around margins.
|
| @@ -66,6 +65,24 @@ public:
|
| // TODO: Consider using computing the focus ring's bounds with
|
| // -[NSCell focusRingMaskBoundsForFrame:inView:]).
|
| static PLATFORM_EXPORT IntRect inflateRectForFocusRing(const IntRect&);
|
| +
|
| + static PLATFORM_EXPORT LengthSize checkboxSize(const FontDescription&, const LengthSize& zoomedSize, float zoomFactor);
|
| + static PLATFORM_EXPORT NSButtonCell *checkbox(ControlStates, const IntRect& zoomedRect, float zoomFactor);
|
| + static PLATFORM_EXPORT const IntSize* checkboxSizes();
|
| + static PLATFORM_EXPORT const int* checkboxMargins(NSControlSize);
|
| + static PLATFORM_EXPORT NSView* ensuredView(ScrollableArea*);
|
| +
|
| + static PLATFORM_EXPORT const IntSize* radioSizes();
|
| + static PLATFORM_EXPORT const int* radioMargins(NSControlSize);
|
| + static PLATFORM_EXPORT LengthSize radioSize(const FontDescription&, const LengthSize& zoomedSize, float zoomFactor);
|
| + static PLATFORM_EXPORT NSButtonCell *radio(ControlStates, const IntRect& zoomedRect, float zoomFactor);
|
| +
|
| + static PLATFORM_EXPORT const IntSize* buttonSizes();
|
| + static PLATFORM_EXPORT const int* buttonMargins(NSControlSize);
|
| + static PLATFORM_EXPORT NSButtonCell *button(ControlPart, ControlStates, const IntRect& zoomedRect, float zoomFactor);
|
| +
|
| + static PLATFORM_EXPORT NSControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor);
|
| + static PLATFORM_EXPORT const IntSize* stepperSizes();
|
| };
|
|
|
| } // namespace blink
|
|
|