mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-30 11:04:52 +01:00
7f16f5fbd2
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1683 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
Index: core/frame/FrameView.cpp
|
|
===================================================================
|
|
--- core/frame/FrameView.cpp (revision 171269)
|
|
+++ core/frame/FrameView.cpp (working copy)
|
|
@@ -162,8 +162,10 @@
|
|
if (!isMainFrame())
|
|
return;
|
|
|
|
+#if 0
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
+#endif
|
|
}
|
|
|
|
PassRefPtr<FrameView> FrameView::create(LocalFrame* frame)
|
|
Index: platform/scroll/ScrollbarThemeMacCommon.mm
|
|
===================================================================
|
|
--- platform/scroll/ScrollbarThemeMacCommon.mm (revision 171269)
|
|
+++ platform/scroll/ScrollbarThemeMacCommon.mm (working copy)
|
|
@@ -358,10 +358,14 @@
|
|
// static
|
|
bool ScrollbarThemeMacCommon::isOverlayAPIAvailable()
|
|
{
|
|
+#if 0
|
|
static bool apiAvailable =
|
|
[NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp:)]
|
|
&& [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@selector(scrollerStyle)];
|
|
return apiAvailable;
|
|
+#else
|
|
+ return false;
|
|
+#endif
|
|
}
|
|
|
|
} // namespace WebCore
|