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

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

Issue 68893003: Move NSScrollerImpDetails to platform/mac/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/blink_platform.gypi ('k') | Source/platform/mac/NSScrollerImpDetails.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/NSScrollerImpDetails.h
diff --git a/Source/core/platform/mac/NSScrollerImpDetails.h b/Source/platform/mac/NSScrollerImpDetails.h
similarity index 93%
rename from Source/core/platform/mac/NSScrollerImpDetails.h
rename to Source/platform/mac/NSScrollerImpDetails.h
index 2ec59f54645eba3be0ba31d4d006c8709a4f8cd0..bcf9855b33f7a5c471f0240b2ca50f044630a3a8 100644
--- a/Source/core/platform/mac/NSScrollerImpDetails.h
+++ b/Source/platform/mac/NSScrollerImpDetails.h
@@ -45,12 +45,12 @@ typedef NSInteger NSScrollerKnobStyle;
#endif
#if __MAC_OS_X_VERSION_MAX_ALLOWED == 1060
-@interface NSScroller(NSObject)
+PLATFORM_EXPORT @interface NSScroller(NSObject)
+ (NSScrollerStyle)preferredScrollerStyle;
@end
#endif
-@interface NSObject (ScrollbarPainter)
+PLATFORM_EXPORT @interface NSObject (ScrollbarPainter)
+ (id)scrollerImpWithStyle:(NSScrollerStyle)newScrollerStyle controlSize:(NSControlSize)newControlSize horizontal:(BOOL)horizontal replacingScrollerImp:(id)previous;
- (CGFloat)knobAlpha;
- (void)setKnobAlpha:(CGFloat)knobAlpha;
@@ -83,7 +83,7 @@ typedef NSInteger NSScrollerKnobStyle;
- (void)mouseExitedScroller;
@end
-@interface NSObject (ScrollbarPainterController)
+PLATFORM_EXPORT @interface NSObject (ScrollbarPainterController)
- (void)setDelegate:(id)delegate;
- (void)hideOverlayScrollers;
- (void)flashScrollers;
@@ -110,9 +110,9 @@ typedef NSInteger NSScrollerKnobStyle;
namespace WebCore {
-bool isScrollbarOverlayAPIAvailable();
+PLATFORM_EXPORT bool isScrollbarOverlayAPIAvailable();
-NSScrollerStyle recommendedScrollerStyle();
+PLATFORM_EXPORT NSScrollerStyle recommendedScrollerStyle();
}
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/mac/NSScrollerImpDetails.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698