Chromium Code Reviews| Index: Source/platform/mac/WebCoreNSCellExtras.h |
| diff --git a/Source/platform/mac/WebCoreNSCellExtras.h b/Source/platform/mac/WebCoreNSCellExtras.h |
| index 54e9c9a24b95aa5bfd99295ff6c59cad13835715..efd54dda22b1eeb1f7a190231490d9bc03914953 100644 |
| --- a/Source/platform/mac/WebCoreNSCellExtras.h |
| +++ b/Source/platform/mac/WebCoreNSCellExtras.h |
| @@ -26,12 +26,10 @@ |
| #import <AppKit/AppKit.h> |
| #include "platform/PlatformExport.h" |
|
Robert Sesek
2015/06/23 15:11:01
Unused?
keishi
2015/06/24 02:36:00
Done.
|
| -#define BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7) |
| - |
| -#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING |
| +@interface NSCell (LionSDKDeclarations) |
|
Robert Sesek
2015/06/23 15:11:01
You can put this in the .mm file instead.
keishi
2015/06/24 02:36:00
Done.
|
| +- (void)drawFocusRingMaskWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; |
| +@end |
| @interface NSCell (WebCoreFocusRingDrawing) |
| -- (void)_web_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; |
| +- (void)cr_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; |
| @end |
| - |
| -#endif |