[Webkit-unassigned] [Bug 25889] [GTK] scrollbar policy for main frame is not implementable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 20 03:35:52 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25889





--- Comment #40 from Holger Freyther <zecke at selfish.org>  2009-07-20 03:35:51 PDT ---
We should not do the upcast to FrameView in the ScrollView. The road taken
before (even inside ScrollView) is the following.

ScrollView::yourMethod()
{
  if (hostWindow()) hostWindow()->scrollPolicyChange(param);
}

HostWindow.h
 virtual void scrollPolicyChange(param) = 0;

Chrome.h
  virtual void scrollPolicyChange(param);

Chrome.cpp

Chrome::scrollPolicyChange(param)
{
   client->scrollPolicyChange
}


and this should work as the mac is doing it for scrolling into a rect. And we
should go this route as dhyatt spent quite some time getting the upcasting out
of ScrollView and I think we should not sneak it in again.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list