Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2093)

Unified Diff: Source/platform/mac/WebCoreNSCellExtras.h

Issue 368003002: Check if drawFocusRingMaskWithFrame:inView: exists when drawing focus ring (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/mac/WebCoreNSCellExtras.h
diff --git a/Source/platform/mac/WebCoreNSCellExtras.h b/Source/platform/mac/WebCoreNSCellExtras.h
index 86238265bc923d783bd89aa4b084941380f0c7eb..6deb63eea0fbc8da38480bd7334a1e59281b9fdf 100644
--- a/Source/platform/mac/WebCoreNSCellExtras.h
+++ b/Source/platform/mac/WebCoreNSCellExtras.h
@@ -26,13 +26,7 @@
#import <AppKit/AppKit.h>
#include "platform/PlatformExport.h"
-#define BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7)
-
-#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
-
// FIXME: Might want to use this on Mac once we only support OS X 10.8+
Robert Sesek 2014/07/21 21:14:38 I think you've done this.
@interface NSCell (WebCoreFocusRingDrawing)
- (void)_web_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
@end
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698