mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-30 11:04:52 +01:00
2ba756d3e1
- Restore CefRenderHandler::OnScrollOffsetChanged. - Add new RT_PING and RT_SERVICE_WORKER resource type values. - The resource type for image sub-resource loads has changed from RT_IMAGE to RT_PREFETCH (this is a regression, see http://crbug.com/415253#c23). - Add a patch to fix a crash in Scheduler::swapQueuesRunPendingTasks* (http://crbug.com/415478). - Add documentation for cef_key_event_type_t values. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1846 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
diff --git core/frame/FrameView.cpp core/frame/FrameView.cpp
|
|
index db086a2..3bcc736 100644
|
|
--- core/frame/FrameView.cpp
|
|
+++ core/frame/FrameView.cpp
|
|
@@ -128,8 +128,10 @@ FrameView::FrameView(LocalFrame* frame)
|
|
if (!m_frame->isMainFrame())
|
|
return;
|
|
|
|
+#if 0
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
+#endif
|
|
}
|
|
|
|
PassRefPtr<FrameView> FrameView::create(LocalFrame* frame)
|
|
diff --git platform/scroll/ScrollbarThemeMacCommon.mm platform/scroll/ScrollbarThemeMacCommon.mm
|
|
index 90abb7c..6bb16c6 100644
|
|
--- platform/scroll/ScrollbarThemeMacCommon.mm
|
|
+++ platform/scroll/ScrollbarThemeMacCommon.mm
|
|
@@ -354,10 +354,14 @@ NSScrollerStyle ScrollbarThemeMacCommon::recommendedScrollerStyle()
|
|
// 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 blink
|