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

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: Created 5 years, 6 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
« no previous file with comments | « Source/platform/mac/ThemeMac.mm ('k') | Source/platform/mac/WebCoreNSCellExtras.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/WebCoreNSCellExtras.h
diff --git a/Source/platform/mac/WebCoreNSCellExtras.h b/Source/platform/mac/WebCoreNSCellExtras.h
index 54e9c9a24b95aa5bfd99295ff6c59cad13835715..aec56bcc5f01b482dfb28db5d960a79342fb7bb4 100644
--- a/Source/platform/mac/WebCoreNSCellExtras.h
+++ b/Source/platform/mac/WebCoreNSCellExtras.h
@@ -24,14 +24,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_MIN_REQUIRED < MAC_OS_X_VERSION_10_7)
-
-#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
@interface NSCell (WebCoreFocusRingDrawing)
-- (void)_web_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
+- (void)cr_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
@end
-
-#endif
« no previous file with comments | « Source/platform/mac/ThemeMac.mm ('k') | Source/platform/mac/WebCoreNSCellExtras.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698