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

Unified Diff: third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h

Issue 1863513002: Mac: Remove some remaining 10.6 logic for absent overlay scrollbar APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Zap notification, import appkit rather than forward decs Created 4 years, 8 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 | « content/browser/theme_helper_mac.mm ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h
diff --git a/third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h b/third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h
index e1c863150abe83c4e468281481c2e9e2a288edb8..7096d319a0cc8b2caa5fd965c220cf3daa81e582 100644
--- a/third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h
+++ b/third_party/WebKit/Source/platform/mac/NSScrollerImpDetails.h
@@ -28,27 +28,6 @@
#import <AvailabilityMacros.h>
-// This file forward-declares APIs for NSScroller that are only present on
-// build SDKs newer than are currently supported.
-
-#if !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
-enum {
- NSScrollerStyleLegacy = 0,
- NSScrollerStyleOverlay = 1
-};
-typedef NSInteger NSScrollerStyle;
-
-enum {
- NSScrollerKnobStyleDefault = 0,
- NSScrollerKnobStyleDark = 1,
- NSScrollerKnobStyleLight = 2
-};
-typedef NSInteger NSScrollerKnobStyle;
-@interface NSScroller(NSObject)
-+ (NSScrollerStyle)preferredScrollerStyle;
-@end
-#endif // !10.7
-
@interface NSObject (ScrollbarPainter)
+ (id)scrollerImpWithStyle:(NSScrollerStyle)newScrollerStyle controlSize:(NSControlSize)newControlSize horizontal:(BOOL)horizontal replacingScrollerImp:(id)previous;
- (CGFloat)knobAlpha;
« no previous file with comments | « content/browser/theme_helper_mac.mm ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698