mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-15 02:54:20 +01:00
c8848da3bb
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@580 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
Index: page/FrameView.cpp
|
|
===================================================================
|
|
--- page/FrameView.cpp (revision 112327)
|
|
+++ page/FrameView.cpp (working copy)
|
|
@@ -159,10 +159,12 @@
|
|
if (!page)
|
|
return;
|
|
|
|
+#if 0
|
|
if (m_frame == page->mainFrame()) {
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
}
|
|
+#endif
|
|
}
|
|
|
|
PassRefPtr<FrameView> FrameView::create(Frame* frame)
|
|
Index: platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm
|
|
===================================================================
|
|
--- platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm (revision 101144)
|
|
+++ 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)
|