2012-04-03 03:34:16 +02:00
|
|
|
Index: page/FrameView.cpp
|
|
|
|
===================================================================
|
2013-08-15 21:38:55 +02:00
|
|
|
--- page/FrameView.cpp (revision 156144)
|
2012-04-03 03:34:16 +02:00
|
|
|
+++ page/FrameView.cpp (working copy)
|
2013-08-15 21:38:55 +02:00
|
|
|
@@ -189,10 +189,12 @@
|
2012-11-26 19:20:41 +01:00
|
|
|
if (!page)
|
|
|
|
return;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
+#if 0
|
2012-11-26 19:20:41 +01:00
|
|
|
if (m_frame == page->mainFrame()) {
|
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|
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-08-15 21:38:55 +02:00
|
|
|
--- platform/mac/NSScrollerImpDetails.mm (revision 156144)
|
2012-11-26 19:20:41 +01:00
|
|
|
+++ platform/mac/NSScrollerImpDetails.mm (working copy)
|
2013-04-16 00:16:01 +02:00
|
|
|
@@ -33,6 +33,7 @@
|
|
|
|
|
2012-04-03 03:34:16 +02:00
|
|
|
bool isScrollbarOverlayAPIAvailable()
|
|
|
|
{
|
|
|
|
+#if 0
|
2012-11-26 19:20:41 +01:00
|
|
|
static bool apiAvailable;
|
|
|
|
static bool shouldInitialize = true;
|
|
|
|
if (shouldInitialize) {
|
2013-04-16 00:16:01 +02:00
|
|
|
@@ -43,6 +44,9 @@
|
2012-11-26 19:20:41 +01:00
|
|
|
&& [scrollerImpPairClass instancesRespondToSelector:@selector(scrollerStyle)];
|
|
|
|
}
|
2012-04-03 03:34:16 +02:00
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
2013-04-16 00:16:01 +02:00
|
|
|
NSScrollerStyle recommendedScrollerStyle() {
|