2011-10-25 18:36:38 +02:00
|
|
|
Index: page/FrameView.cpp
|
|
|
|
===================================================================
|
2011-12-21 19:35:55 +01:00
|
|
|
--- page/FrameView.cpp (revision 103399)
|
2011-10-25 18:36:38 +02:00
|
|
|
+++ page/FrameView.cpp (working copy)
|
2011-12-21 19:35:55 +01:00
|
|
|
@@ -176,10 +176,12 @@
|
2011-10-25 18:36:38 +02:00
|
|
|
m_page = page;
|
|
|
|
m_page->addScrollableArea(this);
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
if (m_frame == m_page->mainFrame()) {
|
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
}
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Index: platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm
|
|
|
|
===================================================================
|
2011-12-21 19:35:55 +01:00
|
|
|
--- platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm (revision 101144)
|
2011-10-25 18:36:38 +02:00
|
|
|
+++ platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm (working copy)
|
|
|
|
@@ -356,9 +356,13 @@
|
|
|
|
|
|
|
|
bool isScrollbarOverlayAPIAvailable()
|
|
|
|
{
|
|
|
|
+#if 0
|
|
|
|
static bool apiAvailable = [lookUpNSScrollerImpClass() respondsToSelector:@selector(scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp:)] &&
|
|
|
|
[lookUpNSScrollerImpPairClass() instancesRespondToSelector:@selector(scrollerStyle)];
|
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // USE(WK_SCROLLBAR_PAINTER)
|