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