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