2013-10-17 01:09:07 +02:00
|
|
|
Index: frame/FrameView.cpp
|
2012-04-03 03:34:16 +02:00
|
|
|
===================================================================
|
2013-11-08 22:28:56 +01:00
|
|
|
--- frame/FrameView.cpp (revision 161588)
|
2013-10-17 01:09:07 +02:00
|
|
|
+++ frame/FrameView.cpp (working copy)
|
2013-11-08 22:28:56 +01:00
|
|
|
@@ -201,8 +201,10 @@
|
2013-10-16 02:25:38 +02:00
|
|
|
if (!isMainFrame())
|
2012-11-26 19:20:41 +01:00
|
|
|
return;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
+#if 0
|
2013-10-16 02:25:38 +02:00
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
2012-11-26 19:20:41 +01:00
|
|
|
+#endif
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|
|
|
|
|
2012-11-26 19:20:41 +01:00
|
|
|
PassRefPtr<FrameView> FrameView::create(Frame* frame)
|
|
|
|
Index: platform/mac/NSScrollerImpDetails.mm
|
|
|
|
===================================================================
|
2013-11-08 22:28:56 +01:00
|
|
|
--- platform/mac/NSScrollerImpDetails.mm (revision 161588)
|
2012-11-26 19:20:41 +01:00
|
|
|
+++ platform/mac/NSScrollerImpDetails.mm (working copy)
|
2013-10-29 18:53:18 +01:00
|
|
|
@@ -73,10 +73,14 @@
|
2013-04-16 00:16:01 +02:00
|
|
|
|
2012-04-03 03:34:16 +02:00
|
|
|
bool isScrollbarOverlayAPIAvailable()
|
|
|
|
{
|
|
|
|
+#if 0
|
2013-10-29 18:53:18 +01:00
|
|
|
static bool apiAvailable =
|
|
|
|
[NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp:)]
|
|
|
|
&& [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@selector(scrollerStyle)];
|
2012-04-03 03:34:16 +02:00
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
2013-10-29 18:53:18 +01:00
|
|
|
NSScrollerStyle recommendedScrollerStyle()
|